/* ============================================================
   CAMPUS LIFELINE — USER_SIGNUP.css
   Registration page — single-column card layout
   Imports base auth styles from USER_LOGIN.css
   ============================================================ */
@import url('USER_LOGIN.css');

/* Override page wrapper for signup (scrollable, top-aligned) */
.signup-wrapper {
    align-items: flex-start;
    padding: 40px 24px 60px;
    min-height: 100vh;
    height: auto;
}

/* Signup card container */
.signup-container {
    width: 100%;
    max-width: 740px;
    margin: 0 auto;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.signup-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--red-dark));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Header */
.signup-header {
    margin-bottom: 28px;
    text-align: center;
}
.signup-header .form-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.8px;
    margin-bottom: 6px;
}
.signup-header .form-subtitle {
    font-size: 14px;
    color: var(--ink-mid);
}
.signup-header .role-tag {
    margin-bottom: 12px;
}

/* Section labels */
.section-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink-light);
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid var(--border);
}
.section-label:first-of-type {
    margin-top: 0;
}

/* Form select (dropdown) */
.form-select {
    width: 100%;
    padding: 13px 16px 13px 44px;
    background: var(--border-soft);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-dark);
    outline: none;
    cursor: pointer;
    appearance: none;
    transition: all 0.2s var(--ease-out);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.form-select:focus {
    border-color: var(--red);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(198,40,40,0.08);
}

/* Textarea */
.textarea-wrapper {
    align-items: flex-start;
}
.textarea-wrapper .input-icon {
    top: 14px;
    transform: none;
}
.form-textarea {
    min-height: 80px;
    resize: vertical;
    padding-top: 12px;
    line-height: 1.5;
}

/* Password strength indicator */
.pw-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.strength-bar {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.strength-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s, background 0.3s;
}
.strength-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Terms checkbox */
.terms-check {
    margin: 20px 0 24px;
    font-size: 13px;
    color: var(--ink-mid);
}
.terms-check a {
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
}
.terms-check a:hover {
    text-decoration: underline;
}

/* Success alert */
.alert-success {
    background: var(--green-pale);
    border: 1.5px solid #A5D6A7;
    color: var(--green);
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .signup-wrapper { padding: 24px 16px 48px; }
    .signup-container { padding: 28px 22px; }
    .signup-header .form-title { font-size: 22px; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .signup-container { padding: 24px 18px; border-radius: 20px; }
    .section-label { font-size: 10px; }
}
