* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

body {
    background-color:  #f4f4f4;
    color: #333;
    padding: 20px;
    min-height: 100vh;

    justify-content: center;
    align-items: center;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
}

.signupform {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 600px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.signupform:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.signupform h2 {
    text-align: center;
    font-size: 28px;
    color:  #4CAF50;
    margin-bottom: 20px;
}

/* Form Fields Styling */
.signupform label {
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
    color: #333;
}

.signupform input[type="text"],
.signupform input[type="email"],
.signupform input[type="number"],
.signupform input[type="password"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f4f4f4;
    color: var(--text-color-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.signupform input[type="text"]:focus,
.signupform input[type="email"]:focus,
.signupform input[type="number"]:focus,
.signupform input[type="password"]:focus {
    border-color:  #4CAF50;
    outline: none;
}

.signupform input::placeholder {
    color: #aaa;
}

/* Button Styles with Advanced Effects */
.signupform input[type="submit"],
.signupform input[type="reset"] {
    width: 48%;
    padding: 14px;
    border: none;
    background: linear-gradient(135deg,  #4CAF50,  #45a049);
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-right: 4%;
}

.signupform input[type="submit"]:hover,
.signupform input[type="reset"]:hover {
    background: linear-gradient(135deg,  #45a049, #4CAF50);
    transform: translateY(-3px);
}

.signupform input[type="submit"]:active,
.signupform input[type="reset"]:active {
    background-color:  #388E3C;
    transform: translateY(0);
}

table {
    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
}

th {
    background-color:  #4CAF50;
    color: white;
    font-weight: bold;
}

td {
    background-color: #f9f9f9;
}

tbody tr:nth-child(odd) {
    background-color: #f1f1f1;
}

tbody tr:hover {
    background-color: var(--primary-light);
    transition: background-color 0.3s ease;
}


.signupform {
    animation: fadeIn 0.8s ease-in-out;
    margin: auto;
}

#buttons {
    display: flex;      
    justify-content: space-between; 
    gap: 10px;  }          
  
  #buttons input {
    width: 48%;             
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: none;
    cursor: pointer;
  }
  
  #buttons input[type="submit"] {
    background-color: #5cb85c;
    color: white;
  }
  
  #buttons input[type="reset"] {
    background-color: #f0ad4e;
    color: white;
  }
  
  #buttons input:hover {
    opacity: 0.8; 
  }
  