/* === RESET & BASE === */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Arial', sans-serif; 
}
body {
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* === SIGNUP CARD === */
.signup-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}
.signup-card .logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100px;
    height: auto;
}
h2 {
    color: #1e3a8a;
    margin-bottom: 20px;
}
label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
    color: #1e40af;
}
input[type="text"], input[type="email"], input[type="number"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}
input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 5px rgba(59,130,246,0.3);
}
button {
    background-color: #3b82f6;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #2563eb;
}
p {
    margin-top: 15px;
    font-size: 14px;
}
p a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: bold;
}
p a:hover {
    text-decoration: underline;
}
.error-msg {
    color: #dc2626;
    margin-bottom: 15px;
}



/* === RESPONSIVE === */
@media (max-width: 480px) {
    .signup-card {
        padding: 20px;
    }
    h2 {
        font-size: 18px;
    }
}
.form-section {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    background: #f9fafb;
}

.form-section legend {
    font-weight: 600;
    padding: 0 5px;
    color: #1e40af;
}
