/* GlowVision Account Settings - External Styles */
/* Non-critical CSS loaded externally for caching */

/* Back Button */
.back-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-subtitle {
    color: #b3b3b3;
    font-size: 1.1rem;
}

/* Profile Sections */
.profile-sections {
    display: grid;
    gap: 30px;
}

.profile-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.profile-section:hover {
    background: rgba(255, 255, 255, 0.08);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    font-size: 1.6rem;
}

.edit-btn {
    padding: 8px 16px;
    background: #e50914;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.edit-btn:hover {
    background: #c20d12;
    transform: translateY(-1px);
}

.edit-btn.cancel {
    background: rgba(255, 255, 255, 0.1);
}

.edit-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Profile Info */
.profile-info {
    display: grid;
    gap: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: #e5e5e5;
    min-width: 120px;
}

.info-value {
    color: #b3b3b3;
    flex: 1;
    margin-left: 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e5e5e5;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #e50914;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
}

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

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #e50914;
    color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
    background: #c20d12;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn:disabled {
    background: #666666;
    cursor: not-allowed;
    transform: none;
}

/* Password Requirements */
.password-requirements {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #b3b3b3;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    transition: color 0.3s ease;
}

.requirement.met {
    color: #28a745;
}

.requirement-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.requirement:not(.met) .requirement-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #b3b3b3;
}

.requirement.met .requirement-icon {
    background: #28a745;
    color: white;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    color: #b3b3b3;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #e50914;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

/* Messages */
.message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.message.success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.message.error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

.message.warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

/* Edit Forms */
.edit-form {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.edit-form.active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .main-container {
        padding: 30px 15px;
    }

    .page-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .info-value {
        margin-left: 0;
    }
}

/* Security Section */
.security-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.security-warning-icon {
    font-size: 1.2rem;
    margin-top: 2px;
}

.security-warning-content h4 {
    color: #ffc107;
    margin-bottom: 8px;
}

.security-warning-content p {
    color: #e6b800;
    font-size: 0.9rem;
    line-height: 1.4;
}
