/**
 * signup.php — page-specific layout only.
 *
 * The universal reset, shared .form-group/input/select styling, .required,
 * .alert, and .links are all in style.css now so they stay consistent with
 * every other page. This file only holds what's actually unique to the
 * signup page: the centered card shell, the user-type selector cards, and
 * the two-column form-row layout.
 */
body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--zcas-blue) 0%, var(--zcas-navy-dark) 100%);
    min-height: 100vh;
    padding: 20px;
}

.signup-container {
    max-width: 700px;
    margin: 20px auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.signup-header {
    background: linear-gradient(135deg, var(--zcas-blue) 0%, var(--zcas-gold) 100%);
    color: white;
    padding: 30px;
    text-align: center;
}
.signup-header h1 { font-size: 24px; margin-bottom: 8px; }
.signup-header p { font-size: 14px; opacity: 0.9; }

.signup-body { padding: 40px 30px; }

.info-box {
    background: #e8f4f8;
    border-left: 4px solid var(--zcas-gold);
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-size: 14px;
}

.user-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.user-type-card {
    border: 3px solid #e0e0e0;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}
.user-type-card:hover {
    border-color: var(--zcas-blue);
    box-shadow: 0 4px 12px rgba(46, 22, 78, 0.15);
}
.user-type-card.active {
    border-color: var(--zcas-blue);
    background: #f0f7ff;
}
.user-type-card input[type="radio"] {
    display: none;
}
.user-type-card label {
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: #333;
}
.user-type-card p {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.student-fields,
.lecturer-fields {
    display: none;
}

.btn-signup {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--zcas-blue) 0%, var(--zcas-gold) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(46, 22, 78, 0.3);
}

@media (max-width: 768px) {
    .form-row, .user-type-selector {
        grid-template-columns: 1fr;
    }
}
