/* committee-signup.css — commitee-signup.php ki page styles */

.purpose-card input:checked+.purpose-inner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.check-tick {
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    background: white;
    color: #667eea;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
}

.purpose-card input:checked+.purpose-inner .check-tick {
    display: block;
}

.purpose-inner {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    text-align: center;
    padding: 15px 10px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.purpose-inner:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.overflow-checkbox {
    max-height: 400px;
    overflow-y: auto;
}

#selectAllInterests {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#selectAllInterests+label {
    cursor: pointer;
    font-size: 1.1rem;
    color: #667eea;
}

#othersInput {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

#othersInput:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.availability-message {
    font-size: 12px;
    margin-top: 5px;
    padding-left: 5px;
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.password-strength {
    margin-top: 8px;
}

.progress {
    height: 5px;
    background-color: #edf2f7;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.3s ease;
}

.strength-text {
    font-size: 12px;
    color: #718096;
    margin-top: 5px;
    display: block;
}

.toggle-password {
    background: white;
    border: 1px solid #ced4da;
    border-left: none;
    border-radius: 0 5px 5px 0;
    color: #6c757d;
    padding: 0 12px;
    cursor: pointer;
}

.toggle-password:hover {
    color: #667eea;
}

.alert-container {
    margin-bottom: 20px;
}

.alert {
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-check {
    margin: 20px 0;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

/* ── Profile picture (top circle picker) ── */
#committeeImagePlaceholder {
    width: 80px;
    height: 80px;
}

.committee-pic-camera {
    width: 26px;
    height: 26px;
    cursor: pointer;
}

#picPreview {
    object-fit: cover;
    border: 2px solid #667eea;
    cursor: pointer;
}

/* ── Password requirements checklist ── */
.password-requirements {
    margin-top: 10px;
    padding: 10px 12px;
    background: #f8f9fb;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.pwd-req-list {
    list-style: none;
    margin: 0;
    padding-left: 0;
    line-height: 2;
    font-size: 0.875rem;
}

.pwd-req-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dc3545;
    transition: color 0.2s ease;
}

.pwd-req-list li.met {
    color: #28a745;
}

.pwd-req-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #dc3545;
    transition: background 0.2s ease;
}

.pwd-req-icon.met {
    background: #28a745;
}