/* Profile Page Styles - Modern Professional Design */

/* Profile Main Container */
.profile--main {
    padding: 2rem 0;
    background: var(--bg-secondary);
    min-height: 60vh;
}

.profile--container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
}

/* Profile Sidebar */
.profile--sidebar {
    background: linear-gradient(135deg, var(--bg-darker), var(--dark-gray));
    padding: 0;
    border-radius: 12px 0 0 12px;
}

.profile--tab-nav {
    gap: 0;
    padding: 1.5rem 0;
}

.profile--tab-label {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--text-white);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-normal);
    border-left: 3px solid transparent;
    position: relative;
}

.profile--tab-label:hover {
    background: var(--overlay-white-light);
    color: var(--pure-white);
    border-left-color: var(--accent-gold);
    transform: translateX(4px);
}

.profile--tab-label.active {
    background: var(--overlay-white-medium);
    color: var(--pure-white);
    border-left-color: var(--accent-gold);
    font-weight: 600;
}

.profile--tab-label i {
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

/* Profile Content */
.profile--content {
    padding: 2rem;
    background: var(--card-bg);
}

.profile--tab-content {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Titles */
.profile--section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--lightest-gray);
    position: relative;
}

.profile--section-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
}

/* Forms */
.profile--form {
    max-width: 100%;
}

.profile--form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.profile--form-group {
    margin-bottom: 1.25rem;
}

.profile--form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.profile--form-input,
.profile--form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.profile--form-input:focus,
.profile--form-select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-alpha-10);
}

.profile--form-input::placeholder {
    color: var(--input-placeholder);
    font-size: 0.875rem;
}

/* Buttons */
.profile--btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-normal);
    gap: 0.5rem;
}

.profile--btn-primary {
    background: var(--btn-primary-bg);
    color: var(--text-white);
}

.profile--btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.profile--form-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lightest-gray);
}

/* Tables */
.profile--filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--lightest-gray);
}

.profile--search-input {
    flex: 1;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--input-border);
    border-radius: 6px;
    font-size: 0.8125rem;
    background: var(--input-bg);
}

.profile--filter-select {
    min-width: 150px;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--input-border);
    border-radius: 6px;
    font-size: 0.8125rem;
    background: var(--input-bg);
}

.profile--table-container {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
    border: 1px solid var(--lightest-gray);
}

.profile--table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.profile--table thead {
    background: var(--bg-darker);
    color: var(--text-white);
}

.profile--table th {
    padding: 1rem 0.875rem;
    text-align: left;
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.025em;
}

.profile--table td {
    padding: 0.875rem;
    border-bottom: 1px solid var(--lightest-gray);
    font-size: 0.8125rem;
    color: var(--text-primary);
}

.profile--table tbody tr:hover {
    background: var(--bg-secondary);
    transition: background-color var(--transition-fast);
}

.profile--table tbody tr:last-child td {
    border-bottom: none;
}

/* Badges */
.profile--badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 16px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.profile--badge-success {
    background: var(--success-alpha-10);
    color: var(--success-green);
    border: 1px solid var(--success-alpha-20);
}

.profile--badge-warning {
    background: var(--warning-alpha-10);
    color: var(--warning-orange);
    border: 1px solid var(--warning-alpha-20);
}

.profile--badge-danger {
    background: var(--error-alpha-10);
    color: var(--error-red);
    border: 1px solid var(--error-alpha-20);
}

.profile--badge-info {
    background: var(--info-alpha-10);
    color: var(--info-blue);
    border: 1px solid var(--info-alpha-20);
}

.profile--badge-primary {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Links */
.profile--link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    transition: color var(--transition-fast);
}

.profile--link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Checkboxes */
.profile--checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.profile--checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile--checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--input-border);
    position: relative;
    cursor: pointer;
}

.profile--checkbox:checked {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.profile--checkbox-label {
    font-size: 0.875rem;
    color: var(--text-primary);
    cursor: pointer;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1279px) {
    .profile--container {
        grid-template-columns: 240px 1fr;
        gap: 1.5rem;
    }
    
    .profile--content {
        padding: 1.5rem;
    }
}

@media (max-width: 991px) {
    .profile--container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .profile--sidebar {
        border-radius: 12px 12px 0 0;
        padding: 0;
    }
    
    .profile--tab-nav {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding: 1rem 0;
        gap: 0;
    }
    
    .profile--tab-label {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 0.75rem 1rem;
        min-width: fit-content;
    }
    
    .profile--tab-label:hover,
    .profile--tab-label.active {
        border-left: none;
        border-bottom-color: var(--accent-gold);
        transform: none;
    }
    
    .profile--content {
        padding: 1.5rem;
    }
    
    .profile--form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile--filter-bar {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    .profile--main {
        padding: 1rem 0;
    }
    
    .profile--container {
        margin: 0.5rem;
        border-radius: 8px;
    }
    
    .profile--content {
        padding: 1rem;
    }
    
    .profile--section-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .profile--tab-label {
        font-size: 0.8125rem;
        padding: 0.625rem 0.875rem;
    }
    
    .profile--tab-label i {
        font-size: 0.875rem;
    }
    
    .profile--table-container {
        overflow-x: auto;
    }
    
    .profile--table {
        min-width: 600px;
    }
}

/* Enhanced Visual Effects */
.profile--container {
    position: relative;
    overflow: hidden;
}

.profile--container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    z-index: 1;
}

.profile--tab-label {
    position: relative;
    overflow: hidden;
}

.profile--tab-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left var(--transition-slow);
}

.profile--tab-label:hover::before {
    left: 100%;
}

/* Modern Profile Tab Styles */

/* Profile Header Card */
.profile--header-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px var(--shadow-light);
    border: 1px solid var(--lightest-gray);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.profile--avatar-section {
    flex-shrink: 0;
}

.profile--avatar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile--avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-gold);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.profile--avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile--avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-black-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    cursor: pointer;
}

.profile--avatar:hover .profile--avatar-overlay {
    opacity: 1;
}

.profile--avatar-overlay i {
    color: var(--text-white);
    font-size: 1.5rem;
}

.profile--avatar-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--lightest-gray);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile--avatar-btn:hover {
    background: var(--accent-gold);
    color: var(--text-white);
    border-color: var(--accent-gold);
}

.profile--user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile--user-details h3.profile--user-name {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.profile--user-email {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
}

.profile--user-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.profile--badge-premium {
    background: linear-gradient(135deg, var(--accent-gold), #b8941f);
    color: var(--text-white);
    border: none;
}

.profile--badge-verified {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success-green);
    border: 1px solid var(--success-green);
}

.profile--badge-unverified {
    background: rgba(255, 0, 0, 0.15);
    color: var(--error-red);
    border: 1px solid var(--error-red);
}

.profile--completion {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid var(--lightest-gray);
}

.profile--completion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.profile--completion-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.profile--completion-percentage {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.profile--progress-bar {
    height: 8px;
    background: var(--lightest-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.profile--progress-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 4px;
    transition: width var(--transition-slow);
}

.profile--completion-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Stats Grid */
.profile--stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile--stat-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--lightest-gray);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.profile--stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.profile--stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.profile--stat-icon-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-green);
}

.profile--stat-icon-warning {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning-orange);
}

.profile--stat-icon-info {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info-blue);
}

.profile--stat-content {
    display: flex;
    flex-direction: column;
}

.profile--stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.profile--stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Form Card */
.profile--form-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--lightest-gray);
    box-shadow: 0 2px 8px var(--shadow-light);
    overflow: hidden;
}

.profile--form-header {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-bottom: 1px solid var(--lightest-gray);
}

.profile--form-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile--form-title i {
    color: var(--accent-gold);
}

.profile--form-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.profile--form-card .profile--form {
    padding: 1.5rem;
}

.profile--form-section {
    margin-bottom: 2rem;
}

.profile--form-section:last-of-type {
    margin-bottom: 0;
}

.profile--form-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--lightest-gray);
    position: relative;
}

.profile--form-section-title:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--accent-gold);
}

.profile--form-label i {
    margin-right: 0.5rem;
    color: var(--text-secondary);
    width: 16px;
    text-align: center;
}

.profile--form-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 6px;
    border-left: 3px solid var(--info-blue);
}

.profile--form-note i {
    color: var(--info-blue);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.profile--form-note {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Secondary Button */
.profile--btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--lightest-gray);
}

.profile--btn-secondary:hover {
    background: var(--lightest-gray);
    border-color: var(--medium-gray);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.profile--form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Responsive Adjustments for New Elements */
@media (max-width: 991px) {
    .profile--header-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .profile--stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile--form-actions {
        justify-content: stretch;
    }
    
    .profile--form-actions .profile--btn {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .profile--header-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    .profile--avatar {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .profile--user-details h3.profile--user-name {
        font-size: 1.5rem;
    }
    
    .profile--stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile--stat-card {
        padding: 1rem;
    }
    
    .profile--stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .profile--stat-number {
        font-size: 1.25rem;
    }
    
    .profile--form-card .profile--form {
        padding: 1rem;
    }
    
    .profile--form-header {
        padding: 1rem;
    }
    
    .profile--form-actions {
        flex-direction: column;
    }
}

/* Orders Tab Styles */
.profile--orders-header,
.profile--payments-header {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--lightest-gray);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.profile--orders-stats,
.profile--payments-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--lightest-gray);
}

.profile--stat-summary {
    text-align: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--lightest-gray);
}

.profile--stat-summary .profile--stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.profile--stat-summary .profile--stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.profile--orders-filters,
.profile--payments-filters {
    margin: 0;
}

.profile--filter-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile--filter-group .profile--search-input,
.profile--filter-group .profile--filter-select {
    flex: 1;
    min-width: 200px;
}

/* Orders List */
.profile--orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile--order-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--lightest-gray);
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.profile--order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.profile--order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--lightest-gray);
}

.profile--order-info h4.profile--order-number {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.profile--order-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.profile--order-status .profile--badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.profile--order-details {
    padding: 1.5rem;
}

.profile--order-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile--order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--lightest-gray);
}

.profile--order-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.profile--order-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile--order-item-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.profile--order-item-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.profile--order-item-link {
    font-size: 0.675rem;
    font-weight: 400;
    color: var(--accent-gold);
}


.profile--order-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lightest-gray);
}

.profile--order-total {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile--order-total-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.profile--order-total-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.profile--order-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Small Buttons */
.profile--btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.profile--btn-danger {
    background: var(--error-red);
    color: var(--text-white);
}

.profile--btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Load More */
.profile--load-more {
    text-align: center;
    margin-top: 2rem;
}

/* Payments Specific Styles */
.profile--payment-methods,
.profile--payment-history {
    margin-bottom: 2rem;
}

.profile--subsection-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile--subsection-title i {
    color: var(--accent-gold);
}

/* Payment Cards */
.profile--payment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile--payment-card {
    background: var(--card-bg);
    border: 1px solid var(--lightest-gray);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
}

.profile--payment-card:hover {
    box-shadow: 0 4px 16px var(--shadow-medium);
    transform: translateY(-2px);
}

.profile--payment-card-primary {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--card-bg), rgba(212, 175, 55, 0.05));
}

.profile--card-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile--card-icon {
    font-size: 2rem;
    color: var(--accent-gold);
}

.profile--card-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile--card-type {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.profile--card-number {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-family: monospace;
}

.profile--card-expiry {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.profile--card-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.profile--payment-card-add {
    border: 2px dashed var(--lightest-gray);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all var(--transition-normal);
}

.profile--payment-card-add:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
}

.profile--add-card-btn {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color var(--transition-normal);
}

.profile--add-card-btn:hover {
    color: var(--accent-gold);
}

.profile--add-card-btn i {
    font-size: 2rem;
}

/* Payment History */
.profile--payment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile--payment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--lightest-gray);
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.profile--payment-item:hover {
    box-shadow: 0 2px 8px var(--shadow-light);
    transform: translateY(-1px);
}

.profile--payment-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.profile--payment-icon-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-green);
}

.profile--payment-icon-warning {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning-orange);
}

.profile--payment-icon-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--error-red);
}

.profile--payment-icon-info {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info-blue);
}

.profile--payment-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile--payment-main {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.profile--payment-id {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.profile--payment-order {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.profile--payment-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.profile--payment-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.profile--payment-method i {
    font-size: 1rem;
}

.profile--payment-date {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.profile--payment-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    min-width: 120px;
}

.profile--payment-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.profile--payment-refund {
    color: var(--success-green);
}

.profile--payment-actions {
    display: flex;
    gap: 0.5rem;
}

/* Responsive Adjustments for New Elements */
@media (max-width: 991px) {
    .profile--orders-stats,
    .profile--payments-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile--filter-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .profile--order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .profile--order-summary {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .profile--order-actions {
        justify-content: stretch;
    }
    
    .profile--order-actions .profile--btn {
        flex: 1;
    }
    
    .profile--payment-cards {
        grid-template-columns: 1fr;
    }
    
    .profile--payment-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .profile--card-actions {
        justify-content: center;
    }
    
    .profile--payment-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .profile--payment-main {
        justify-content: space-between;
    }
    
    .profile--payment-amount {
        align-items: stretch;
        min-width: auto;
    }
    
    .profile--payment-actions {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .profile--order-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    
    .profile--order-item-image {
        width: 80px;
        height: 80px;
    }
    
    .profile--order-actions {
        flex-direction: column;
    }
    
    .profile--payment-main {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .profile--payment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Security & Communication Sections */
.profile--security-sections,
.profile--communication-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile--security-card,
.profile--communication-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--lightest-gray);
    box-shadow: 0 2px 8px var(--shadow-light);
    overflow: hidden;
}

.profile--security-card-header,
.profile--communication-card-header {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-bottom: 1px solid var(--lightest-gray);
}

.profile--security-card-title,
.profile--communication-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile--security-card-title i,
.profile--communication-card-title i {
    color: var(--accent-gold);
}

.profile--security-card-subtitle,
.profile--communication-card-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.profile--security-card .profile--form,
.profile--communication-card .profile--form {
    padding: 1.5rem;
}

/* Password Strength Indicator */
.profile--password-strength {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid var(--lightest-gray);
    margin-top: 1rem;
}

.profile--strength-bar {
    height: 8px;
    background: var(--lightest-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.profile--strength-fill {
    height: 100%;
    border-radius: 4px;
    transition: all var(--transition-slow);
}

.profile--strength-strong {
    background: linear-gradient(90deg, var(--warning-orange), var(--success-green));
}

.profile--strength-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile--strength-label {
    font-size: 0.875rem;
    color: var(--text-primary);
}

.profile--strength-requirements {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.profile--requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    padding: 0.25rem 0;
}

.profile--requirement-met {
    color: var(--success-green);
}

.profile--requirement-pending {
    color: var(--text-secondary);
}

.profile--requirement i {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Two Factor Authentication */
.profile--2fa-options {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.profile--2fa-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--lightest-gray);
    transition: all var(--transition-normal);
}

.profile--2fa-option:hover {
    background: var(--card-bg);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.profile--2fa-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.profile--2fa-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.profile--2fa-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile--2fa-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.profile--2fa-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
}

.profile--2fa-action {
    flex-shrink: 0;
}

/* Notification Settings */
.profile--notification-settings {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.profile--notification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--lightest-gray);
}

.profile--notification-info {
    flex: 1;
}

.profile--notification-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.profile--notification-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Toggle Switch */
.profile--notification-toggle {
    flex-shrink: 0;
}

.profile--toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    cursor: pointer;
}

.profile--toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.profile--toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--lightest-gray);
    border-radius: 24px;
    transition: all var(--transition-normal);
    border: 1px solid var(--input-border);
}

.profile--toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background: var(--text-white);
    border-radius: 50%;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 4px var(--shadow-light);
}

.profile--toggle input:checked + .profile--toggle-slider {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.profile--toggle input:checked + .profile--toggle-slider:before {
    transform: translateX(26px);
}

.profile--toggle:hover .profile--toggle-slider {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Communication Settings Specific Styles */
.profile--verification-status {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid var(--lightest-gray);
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile--verification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.profile--verification-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.profile--verification-label {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
}

.profile--verification-date {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.profile--verification-action {
    flex-shrink: 0;
}

/* Communication Permissions Styles */
.profile--permissions-section {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--lightest-gray);
    box-shadow: 0 2px 8px var(--shadow-light);
    overflow: hidden;
    margin-top: 2rem;
}

.profile--permissions-header {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-bottom: 1px solid var(--lightest-gray);
}

.profile--permissions-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile--permissions-title i {
    color: var(--accent-gold);
}

.profile--permissions-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.profile--permissions-content {
    padding: 1.5rem;
}

.profile--permission-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.profile--permission-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--lightest-gray);
    transition: all var(--transition-normal);
    margin-bottom: 1rem;
}

.profile--permission-item:hover {
    background: var(--card-bg);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.profile--permission-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile--permission-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile--permission-title i {
    color: var(--accent-gold);
    width: 16px;
    text-align: center;
}

.profile--permission-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.profile--permission-toggle {
    flex-shrink: 0;
}

.profile--permission-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    cursor: pointer;
}

.profile--permission-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.profile--permission-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--lightest-gray);
    border-radius: 24px;
    transition: all var(--transition-normal);
    border: 1px solid var(--input-border);
}

.profile--permission-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background: var(--text-white);
    border-radius: 50%;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 4px var(--shadow-light);
}

.profile--permission-switch input:checked + .profile--permission-slider {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.profile--permission-switch input:checked + .profile--permission-slider:before {
    transform: translateX(26px);
}

.profile--permission-switch:hover .profile--permission-slider {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.profile--permission-switch:focus-within .profile--permission-slider {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* Permission Status Indicators */
.profile--permission-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.profile--permission-status-active {
    color: var(--success-green);
    font-size: 0.8125rem;
    font-weight: 500;
}

.profile--permission-status-inactive {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.profile--permission-note {
    background: rgba(23, 162, 184, 0.05);
    border: 1px solid rgba(23, 162, 184, 0.2);
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.profile--permission-note i {
    color: var(--info-blue);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.profile--permission-note-text {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Password Wrapper and Toggle Styles */
.profile--password-wrapper {
    position: relative;
}

.profile--password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile--password-toggle:hover {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

/* Password Strength Indicator Styles */
.profile--password-strength {
    margin-top: 0.5rem;
    display: none;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid var(--lightest-gray);
}

.profile--strength-bar {
    height: 4px;
    background: var(--lightest-gray);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.profile--strength-fill {
    height: 100%;
    width: 20%;
    background: var(--error-red);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.profile--strength-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Password strength levels */
.profile--password-strength.very-weak .profile--strength-fill {
    width: 20%;
    background: var(--error-red);
}

.profile--password-strength.weak .profile--strength-fill {
    width: 35%;
    background: #ff6b35;
}

.profile--password-strength.medium .profile--strength-fill {
    width: 55%;
    background: var(--warning-orange);
}

.profile--password-strength.strong .profile--strength-fill {
    width: 75%;
    background: var(--info-blue);
}

.profile--password-strength.very-strong .profile--strength-fill {
    width: 100%;
    background: var(--success-green);
}

/* Password Match Indicator */
.profile--match-indicator {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    opacity: 0;
    transition: all 0.2s ease;
}

.profile--match-indicator.show {
    opacity: 1;
}

.profile--match-indicator.match {
    color: var(--success-green);
}

.profile--match-indicator.no-match {
    color: var(--error-red);
}

/* Switch Styles (already exists but ensuring consistency) */
.profile--switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    cursor: pointer;
}

.profile--switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.profile--slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--lightest-gray);
    border-radius: 24px;
    transition: all var(--transition-normal);
    border: 1px solid var(--input-border);
}

.profile--slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background: var(--text-white);
    border-radius: 50%;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 4px var(--shadow-light);
}

.profile--switch input:checked + .profile--slider {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.profile--switch input:checked + .profile--slider:before {
    transform: translateX(26px);
}

.profile--switch:hover .profile--slider {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Notification Categories */
.profile--notification-categories {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile--notification-category {
    border: 1px solid var(--lightest-gray);
    border-radius: 8px;
    overflow: hidden;
}

.profile--category-header {
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--lightest-gray);
}

.profile--category-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile--category-title i {
    color: var(--accent-gold);
}

.profile--notification-options {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile--notification-options .profile--notification-item {
    background: transparent;
    border: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--lightest-gray);
}

.profile--notification-options .profile--notification-item:last-child {
    border-bottom: none;
}

.profile--notification-channels {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.profile--channel-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--lightest-gray);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.profile--channel-toggle:hover {
    background: var(--lightest-gray);
    transform: translateY(-1px);
}

.profile--channel-toggle input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.profile--channel-toggle input:checked + .profile--channel-icon {
    background: var(--accent-gold);
    color: var(--text-white);
    border-color: var(--accent-gold);
}

.profile--channel-toggle input:disabled + .profile--channel-icon {
    background: var(--success-green);
    color: var(--text-white);
    border-color: var(--success-green);
    opacity: 0.8;
}

.profile--channel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

/* Communication History */
.profile--communication-history {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile--communication-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--lightest-gray);
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.profile--communication-item:hover {
    background: var(--card-bg);
    box-shadow: 0 2px 8px var(--shadow-light);
    transform: translateY(-1px);
}

.profile--communication-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.profile--communication-icon-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-green);
}

.profile--communication-icon-info {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info-blue);
}

.profile--communication-icon-warning {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning-orange);
}

.profile--communication-icon-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--error-red);
}

.profile--communication-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile--communication-main {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.profile--communication-type {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.profile--communication-subject {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.profile--communication-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.profile--communication-order {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.profile--communication-date {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.profile--communication-status {
    display: flex;
    align-items: center;
    min-width: 100px;
    justify-content: flex-end;
}

/* Responsive Adjustments for Security & Communication */
@media (max-width: 991px) {
    .profile--security-stats,
    .profile--communication-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile--strength-requirements {
        grid-template-columns: 1fr;
    }
    
    .profile--2fa-option {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .profile--2fa-action {
        align-self: center;
    }
    
    .profile--notification-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .profile--notification-toggle {
        align-self: flex-end;
    }
    
    .profile--verification-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .profile--verification-action {
        align-self: flex-start;
    }
    
    .profile--communication-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .profile--communication-main {
        justify-content: space-between;
    }
    
    .profile--communication-status {
        justify-content: flex-start;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .profile--status-card {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .profile--status-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .profile--2fa-info {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .profile--2fa-icon {
        align-self: center;
    }
    
    .profile--notification-channels {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .profile--communication-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .profile--communication-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Login History Tab Styles */
.profile--history-header {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--lightest-gray);
    box-shadow: 0 2px 8px var(--shadow-light);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile--history-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.profile--history-status {
    display: flex;
    justify-content: center;
}

.profile--status-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--lightest-gray);
    min-width: 300px;
}

.profile--status-card-success {
    border-color: rgba(40, 167, 69, 0.3);
    background: rgba(40, 167, 69, 0.05);
}

.profile--status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-green);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.profile--status-info {
    flex: 1;
}

.profile--status-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.profile--status-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Current Session */
.profile--current-session {
    margin-bottom: 2rem;
}

.profile--session-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--lightest-gray);
    border-radius: 10px;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: all var(--transition-normal);
}

.profile--session-card-current {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--card-bg), rgba(212, 175, 55, 0.05));
}

.profile--session-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.profile--session-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.profile--session-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile--session-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile--session-device {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.profile--session-location {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.profile--session-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.profile--session-ip {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-family: monospace;
    background: var(--bg-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.profile--session-time {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.profile--session-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* History Filters */
.profile--history-filters {
    margin-bottom: 2rem;
}

.profile--filter-controls {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid var(--lightest-gray);
    margin-top: 1rem;
}

/* History List */
.profile--history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.profile--history-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--lightest-gray);
    border-radius: 10px;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 6px var(--shadow-light);
}

.profile--history-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.profile--history-item-failed {
    border-color: rgba(220, 53, 69, 0.3);
    background: rgba(220, 53, 69, 0.02);
}

.profile--history-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.125rem;
}

.profile--history-icon-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-green);
}

.profile--history-icon-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--error-red);
}

.profile--history-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile--history-device {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.profile--device-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile--device-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.profile--device-location {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.profile--history-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.profile--history-ip {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-family: monospace;
    background: var(--bg-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.profile--history-date {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.profile--history-reason {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--error-red);
    background: rgba(220, 53, 69, 0.05);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.profile--history-status {
    display: flex;
    align-items: center;
    min-width: 100px;
    justify-content: center;
}

.profile--history-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Security Actions */
.profile--security-actions {
    margin-top: 2rem;
}

.profile--security-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.profile--action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--lightest-gray);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: left;
}

.profile--action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-medium);
    border-color: var(--accent-gold);
}

.profile--action-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.profile--action-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.profile--action-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.profile--action-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Address Tab Styles */
.profile--address-header {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--lightest-gray);
    box-shadow: 0 2px 8px var(--shadow-light);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile--address-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.profile--address-status {
    display: flex;
    justify-content: center;
}

.profile--address-saved {
    margin-bottom: 2rem;
}

.profile--address-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.profile--address-card {
    background: var(--card-bg);
    border: 1px solid var(--lightest-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.profile--address-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.profile--address-card-primary {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--card-bg), rgba(212, 175, 55, 0.05));
}

.profile--address-card-header {
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-bottom: 1px solid var(--lightest-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile--address-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.profile--address-card-title i {
    color: var(--accent-gold);
}

.profile--address-card-actions {
    display: flex;
    gap: 0.5rem;
}

.profile--address-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile--address-details {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.profile--address-details p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.profile--address-name {
    font-weight: 600;
    color: var(--text-primary);
}

.profile--address-line {
    color: var(--text-primary);
}

.profile--address-location {
    color: var(--text-secondary);
    font-weight: 500;
}

.profile--address-phone {
    color: var(--text-secondary);
    font-family: monospace;
}

.profile--address-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px solid var(--lightest-gray);
}

.profile--address-verified {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--success-green);
}

.profile--address-deliveries {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.profile--address-card-add {
    border: 2px dashed var(--lightest-gray);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.profile--address-card-add:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
}

.profile--add-address-btn {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color var(--transition-normal);
}

.profile--add-address-btn:hover {
    color: var(--accent-gold);
}

.profile--add-address-btn i {
    font-size: 2rem;
}

/* Address Form */
.profile--address-form {
    margin-top: 2rem;
}

.profile--address-type-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile--address-type-option {
    cursor: pointer;
    display: block;
}

.profile--address-type-option input {
    display: none;
}

.profile--address-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 2px solid var(--lightest-gray);
    border-radius: 10px;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-align: center;
}

.profile--address-type-card:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
}

.profile--address-type-option input:checked + .profile--address-type-card {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
}

.profile--address-type-card i {
    font-size: 1.5rem;
    color: inherit;
}

.profile--address-type-card span {
    font-size: 0.875rem;
    font-weight: 500;
    color: inherit;
}

.profile--form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all var(--transition-normal);
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.profile--form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.profile--form-textarea::placeholder {
    color: var(--input-placeholder);
    font-size: 0.875rem;
}

.profile--form-options {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.profile--checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.profile--checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--input-border);
    position: relative;
    cursor: pointer;
    appearance: none;
    background: var(--input-bg);
    transition: all var(--transition-normal);
}

.profile--checkbox:checked {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.profile--checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-white);
    font-size: 12px;
    font-weight: bold;
}

.profile--checkbox-label {
    font-size: 0.875rem;
    color: var(--text-primary);
    cursor: pointer;
    margin: 0;
}

/* Responsive Adjustments for Address & History */
@media (max-width: 991px) {
    .profile--history-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .profile--address-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile--history-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .profile--history-details {
        gap: 0.5rem;
    }
    
    .profile--session-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        text-align: center;
    }
    
    .profile--security-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .profile--address-cards {
        grid-template-columns: 1fr;
    }
    
    .profile--address-type-selection {
        grid-template-columns: 1fr;
    }
    
    .profile--status-card {
        min-width: auto;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    .profile--history-stats {
        grid-template-columns: 1fr;
    }
    
    .profile--history-item {
        padding: 1rem;
    }
    
    .profile--history-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .profile--session-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .profile--status-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .profile--action-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .profile--device-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .profile--history-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .profile--session-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .profile--address-card-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .profile--address-card-actions {
        justify-content: center;
    }
    
    .profile--address-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .profile--action-card {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* Focus States for Accessibility */
.profile--tab-label:focus,
.profile--form-input:focus,
.profile--form-select:focus,
.profile--form-textarea:focus,
.profile--btn:focus,
.profile--avatar-btn:focus,
.profile--add-card-btn:focus,
.profile--add-address-btn:focus,
.profile--action-card:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.profile--checkbox:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.profile--toggle:focus-within .profile--toggle-slider {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.profile--channel-toggle:focus-within {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.profile--address-type-option:focus-within .profile--address-type-card {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}
