* {
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f7f9fc;
    overflow-x: hidden;
    overflow-y: auto;
}

.counselor-signup-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.counselor-signup-header {
    text-align: center;
    margin-bottom: 30px;
}

.counselor-signup-header h1 {
    color: #103d4e;
    margin-bottom: 10px;
    font-size: 28px;
}

.counselor-signup-header p {
    color: #6a6a6a;
    margin: 0;
    font-size: 15px;
}

.counselor-badge {
    display: inline-block;
    background: #018484;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #34495e;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #018484;
}

.form-group .help-text {
    font-size: 13px;
    color: #6a6a6a;
    margin-top: 5px;
}

.form-group .error-text {
    font-size: 13px;
    color: #e51b23;
    margin-top: 5px;
    display: none;
}

.form-group input.input-error {
    border-color: #e51b23;
}

.required {
    color: #e51b23;
}

.optional-label {
    font-size: 13px;
    color: #6a6a6a;
    font-weight: normal;
}

.flash-messages {
    margin-bottom: 20px;
}

.flash-error {
    background: #e51b23;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 14px;
}

.flash-success {
    background: #27ae60;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 14px;
}

.flash-info {
    background: #018484;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 14px;
}

.counselor-signup-btn {
    width: 100%;
    padding: 14px;
    background: #018484;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 5px;
}

.counselor-signup-btn:hover {
    background: #016b6b;
}

.counselor-signup-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.form-divider {
    border: none;
    border-top: 1px solid #ecf0f1;
    margin: 25px 0;
}

.alt-links {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #6a6a6a;
}

.alt-links a {
    color: #018484;
    text-decoration: none;
}

.alt-links a:hover {
    text-decoration: underline;
}

.alt-links p {
    margin: 8px 0;
}

.password-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 560px) {
    .counselor-signup-container {
        margin: 20px;
        padding: 25px;
    }

    .password-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
