/* Personal Account Dashboard Styles */

.personal-account-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: "Manrope", Sans-serif;
    background: #F4DAEC;
    min-height: 100vh;
}

/* My Account Dashboard Grid */
.my-account-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.account-card {
    background: linear-gradient(135deg, #F4DAEC 0%, #F0E6F0 100%) !important;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #E8D5E8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.account-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 45, 107, 0.15);
}

.account-card-icon {
    width: 80px;
    height: 80px;
    background: #872267 !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.account-card-icon svg {
    width: 24px;
    height: 24px;
}

.account-card-icon svg path {
    fill: white !important;
}


.account-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2C2C2C;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.account-card p {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.account-card-button {
    background: white;
    color: #2C2C2C;
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.account-card-button:hover {
    background: #872267;
    color: white;
    text-decoration: none;
    border-color: #872267;
}

/* Card Statistics */


/* My Orders Styles */
.my-orders-page {
    background: white !important;
    min-height: 100vh;
    padding: 20px;
    font-family: "Manrope", Sans-serif;
}

/* Override personal-account-container background if it wraps my-orders-page */
.personal-account-container .my-orders-page,
.personal-account-container .my-orders-container {
    background: white !important;
}

.my-orders-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
}

.orders-header {
    margin-bottom: 30px;
}

.orders-header h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #2C2C2C;
}

.orders-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #E5E5E5;
}

.orders-tab {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 12px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    top: 1px;
    border-radius: 0px;
}

.orders-tab.active {
    color: #872267;
    border-bottom-color: #872267;
    font-weight: 600;
    background: none !important;
}

.orders-tab:hover {
    color: #872267;
    background: none !important;
    border-color: #872267;
}

.order-item {
    border: 1px solid #E5E5E5;
    border-radius: 0;
    margin-bottom: 30px;
    overflow: hidden;
    background: white;
}

.order-header-bar {
    background: #872267;
    color: white;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.order-header-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
}

.order-header-info span {
    color: white;
}

.order-placed-text,
.order-total-text,
.order-ship-to-text {
    font-weight: 500;
}

.order-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.order-number-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.view-invoice-link {
    color: white;
    text-decoration: underline;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.view-invoice-link:hover {
    opacity: 0.8;
    color: white;
    text-decoration: underline;
}

.order-content-wrapper {
    display: flex;
    gap: 30px;
    padding: 24px;
    background: white;
}

.order-content-main {
    flex: 1;
}

.order-status-title {
    font-size: 20px;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 12px;
}

.order-delivery-estimate,
.order-cancellation-message {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.order-cancellation-message {
    color: #666;
}

.order-products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-product-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.product-image-wrapper {
    width: 120px;
    height: 160px;
    background: #F5F5F5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #999;
    background: #F5F5F5;
}

.product-info-wrapper {
    flex: 1;
}

.product-name {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
}

.product-specs-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
}

.product-spec {
    display: block;
}

.visit-product-button {
    background: #2C2C2C;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.visit-product-button:hover {
    background: #1a1a1a;
    text-decoration: none;
    color: white;
}

.order-actions-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    min-width: 180px;
}

.order-action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.order-action-link:hover {
    color: #872267;
    text-decoration: none;
}

.action-icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.action-text {
    font-weight: 500;
}

/* Login & Security Styles */
.login-security-page {
    background: white;
    min-height: 100vh;
    padding: 20px;
    font-family: "Manrope", Sans-serif;
}

.login-security-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
}

.login-security-header {
    margin-bottom: 30px;
    background: none !important;
}

.login-security-header h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #2C2C2C;
}

.login-security-main-card {
    background: #F4DAEC;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.login-security-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.profile-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-field label {
    font-size: 14px;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 4px;
}

.profile-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-field input {
    border: none;
    border-bottom: 1px solid #E5E5E5;
    padding: 8px 30px 8px 0;
    font-size: 16px;
    background: transparent;
    color: #2C2C2C;
    width: 100%;
    transition: border-bottom-color 0.3s ease;
}

.profile-field input:focus {
    outline: none;
    border-bottom-color: #872267;
}

.profile-field input:read-only {
    cursor: default;
}

.profile-field .edit-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
    font-size: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.profile-field .edit-icon:hover {
    color: #872267;
}

.password-section {
    background: #872267;
    padding: 30px;
    border-radius: 12px;
    color: white;
    height: fit-content;
}

.password-section h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.password-display {
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: white;
    font-weight: 500;
}

.set-password-btn {
    background: white;
    color: #872267;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.set-password-btn:hover {
    background: #F8EEF8;
    color: #872267;
}

/* Password Modal */
.password-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.password-modal.show {
    display: flex !important;
}

.password-modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.password-modal-content h3 {
    margin: 0 0 24px 0;
    font-size: 24px;
    font-weight: 700;
    color: #2C2C2C;
}

.password-form-field {
    margin-bottom: 20px;
}

.password-form-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2C2C2C;
    margin-bottom: 8px;
}

.password-form-field input {
    width: 100%;
    padding: 12px;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.password-form-field input:focus {
    outline: none;
    border-color: #872267;
}

.password-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.save-password-btn {
    background: #2C2C2C;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    flex: 1;
}

.save-password-btn:hover {
    background: #872267;
}

.cancel-password-btn {
    background: transparent;
    color: #666;
    border: 1px solid #E5E5E5;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.cancel-password-btn:hover {
    border-color: #872267;
    color: #872267;
}

.notifications-section {
    background: none;
    padding: 0;
}

.notifications-header {
    margin-bottom: 24px;
}

.notifications-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #2C2C2C;
}

.notification-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.notification-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #872267;
    cursor: pointer;
}

.notification-checkbox label {
    font-size: 16px;
    color: #2C2C2C;
    cursor: pointer;
}

.save-notifications-btn {
    background: #2C2C2C;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.save-notifications-btn:hover {
    background: #872267;
}

/* Address Book Styles */
.address-book-page {
    background: white;
    min-height: 100vh;
    padding: 20px;
    font-family: "Manrope", Sans-serif;
}

.address-book-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
}

.address-book-header {
    margin-bottom: 30px;
    padding: 0;
}

.address-book-header h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #2C2C2C;
}

.addresses-list-card {
    background: #F4DAEC;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.address-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
}

.address-separator {
    border-bottom: 1px dashed #D5C5D5;
    margin: 0;
}

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

.address-info {
    flex: 1;
}

.address-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: #2C2C2C;
}

.address-info p {
    margin: 0;
    font-size: 14px;
    color: #2C2C2C;
    line-height: 1.5;
}

.address-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.edit-address-btn {
    background: #2C2C2C;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.edit-address-btn:hover {
    background: #872267;
}

.set-primary-link, .unset-primary-link {
    color: #2C2C2C;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.set-primary-link:hover, .unset-primary-link:hover {
    color: #872267;
    text-decoration: none;
}

.delete-address-link {
    color: #2C2C2C;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.delete-address-link:hover {
    color: #872267;
    text-decoration: none;
}

.add-address-section {
    background: white;
    padding: 20px 0;
    margin-bottom: 30px;
    text-align: center;
}

.add-address-btn {
    background: white;
    border: 1px solid #E5E5E5;
    color: #2C2C2C;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    padding: 14px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
}

.add-address-btn:hover {
    border-color: #872267;
    color: #872267;
}

.add-icon {
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
}

.add-new-address-section {
    background: #F4DAEC;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.add-new-address-section h3 {
    margin: 0 0 24px 0;
    font-size: 32px;
    font-weight: 700;
    color: #2C2C2C;
}

.address-form-wrapper {
    background: #F4DAEC;
}

.address-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.address-form .full-width {
    grid-column: 1 / -1;
}

.address-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.address-form label {
    font-size: 14px;
    font-weight: 500;
    color: #2C2C2C;
}

.address-form input, .address-form select {
    padding: 12px;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    color: #2C2C2C;
    transition: border-color 0.3s ease;
}

.address-form input::placeholder {
    color: #999;
}

.address-form input:focus, .address-form select:focus {
    outline: none;
    border-color: #872267;
}

.address-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.primary-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}

.primary-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #872267;
    cursor: pointer;
}

.primary-checkbox label {
    font-size: 16px;
    color: #2C2C2C;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 24px;
}

.add-address-form-btn {
    background: #2C2C2C;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-address-form-btn:hover {
    background: #872267;
}

.cancel-btn {
    background: none;
    border: none;
    color: #2C2C2C;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0;
}

.cancel-btn:hover {
    color: #872267;
    text-decoration: none;
}

/* No Orders Message */
.no-orders-message {
    text-align: center;
    padding: 60px 20px;
    background: #F4DAEC;
    border-radius: 12px;
    margin: 20px 0;
}

.no-orders-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-orders-message h3 {
    font-size: 24px;
    color: #2C2C2C;
    margin: 0 0 10px 0;
}

.no-orders-message p {
    color: #666;
    margin: 0 0 30px 0;
    font-size: 16px;
}

.start-shopping-btn {
    background: #872267;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
    display: inline-block;
}

.start-shopping-btn:hover {
    background: #6B1A5A;
    color: white;
}

/* No Addresses Message */
.no-addresses-message {
    text-align: center;
    padding: 60px 20px;
    background: #F4DAEC;
    border-radius: 12px;
    margin: 20px 0;
}

.no-addresses-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-addresses-message h3 {
    font-size: 24px;
    color: #2C2C2C;
    margin: 0 0 10px 0;
}

.no-addresses-message p {
    color: #666;
    margin: 0 0 30px 0;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .my-account-grid {
        grid-template-columns: 1fr;
    }
    
    .login-security-content {
        grid-template-columns: 1fr;
    }
    
    .login-security-main-card {
        padding: 20px;
    }
    
    .password-section {
        margin-top: 20px;
    }
    
    .password-modal-content {
        padding: 24px;
        margin: 20px;
    }
    
    .password-form-actions {
        flex-direction: column;
    }
    
    .save-password-btn,
    .cancel-password-btn {
        width: 100%;
    }
    
    .address-form {
        grid-template-columns: 1fr;
    }
    
    .order-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .order-header-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .order-header-right {
        align-items: flex-start;
    }
    
    .order-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .order-actions-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: auto;
        width: 100%;
    }
    
    .product-image-wrapper {
        width: 100px;
        height: 133px;
    }
    
    .personal-account-container {
        padding: 10px;
    }
    
    .account-card {
        padding: 20px;
    }
    
    .account-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .address-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .address-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .addresses-list-card {
        padding: 20px;
    }
    
    .address-form {
        grid-template-columns: 1fr;
    }
    
    .add-new-address-section {
        padding: 20px;
    }
    
    .add-new-address-section h3 {
        font-size: 24px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .add-address-form-btn,
    .cancel-btn {
        width: 100%;
        text-align: center;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #872267;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.message.success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.message.error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #872267;
}

/* My AI Gallery Styles */
.my-ai-gallery-page {
    background: white;
    min-height: 100vh;
    padding: 20px;
    font-family: "Manrope", Sans-serif;
}

.ai-gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
}

.gallery-item-wrapper {
    margin-bottom: 40px;
}

.gallery-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: white;
}

.gallery-image-section {
    display: flex;
    flex-direction: column;
}

.gallery-header-left {
    margin-bottom: 20px;
}

.gallery-header-left h2 {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-weight: 700;
    color: #2C2C2C;
}

.gallery-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.dropdown-arrow {
    font-size: 12px;
    cursor: pointer;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #F5F5F5;
}

.gallery-product-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    flex-direction: column;
}

.image-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.image-action-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.image-action-btn.liked {
    background: #FF6B9D;
}

.image-action-btn.liked .action-icon {
    filter: brightness(0) invert(1);
}

.action-icon {
    font-size: 18px;
    line-height: 1;
}

.product-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.product-name-size {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
}

.product-size {
    font-size: 14px;
    color: #666;
}

.view-buttons {
    display: flex;
    gap: 8px;
}

.view-btn {
    padding: 8px 16px;
    border: 1px solid #E5E5E5;
    background: white;
    color: #2C2C2C;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: #2C2C2C;
    color: white;
    border-color: #2C2C2C;
}

.view-btn:hover {
    border-color: #872267;
}

.fit-analysis-section {
    padding: 24px;
    background: #F9F9F9;
    border-radius: 8px;
}

.fit-analysis-section h3 {
    margin: 0 0 24px 0;
    font-size: 24px;
    font-weight: 700;
    color: #2C2C2C;
}

.overall-fit-score {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px;
    background: white;
    border-radius: 8px;
}

.score-value {
    font-size: 64px;
    font-weight: 700;
    color: #872267;
    line-height: 1;
    margin-bottom: 8px;
}

.score-label {
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
}

.fit-breakdown {
    margin-bottom: 24px;
}

.fit-category {
    margin-bottom: 20px;
}

.fit-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: #2C2C2C;
}

.category-description {
    font-size: 14px;
    color: #666;
}

.fit-bar-wrapper {
    position: relative;
    height: 24px;
    background: #E5E5E5;
    border-radius: 12px;
    overflow: hidden;
}

.fit-bar {
    height: 100%;
    background: #872267;
    border-radius: 12px;
    transition: width 0.5s ease;
}

.fit-percentage {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: #2C2C2C;
}

.ai-recommendations {
    margin-bottom: 24px;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

.ai-recommendations h4 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
}

.ai-recommendations ul {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.ai-recommendations li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.fit-analysis-actions {
    display: flex;
    gap: 12px;
}

.add-to-cart-btn {
    flex: 1;
    padding: 14px 24px;
    background: #2C2C2C;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #872267;
    color: white;
    text-decoration: none;
}

.try-different-size-btn {
    flex: 1;
    padding: 14px 24px;
    background: white;
    color: #872267;
    border: 1px solid #872267;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.try-different-size-btn:hover {
    background: #872267;
    color: white;
}

.no-gallery-message {
    text-align: center;
    padding: 60px 20px;
    background: #F4DAEC;
    border-radius: 12px;
    margin: 20px 0;
}

.no-gallery-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-gallery-message h3 {
    font-size: 24px;
    color: #2C2C2C;
    margin: 0 0 10px 0;
}

.no-gallery-message p {
    color: #666;
    margin: 0 0 30px 0;
    font-size: 16px;
}

/* Responsive Design for AI Gallery */
@media (max-width: 1024px) {
    .gallery-item {
        grid-template-columns: 1fr;
    }
    
    .fit-analysis-section {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-header-left h2 {
        font-size: 24px;
    }
    
    .score-value {
        font-size: 48px;
    }
    
    .fit-analysis-actions {
        flex-direction: column;
    }
    
    .add-to-cart-btn,
    .try-different-size-btn {
        width: 100%;
    }
    
    .product-info-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}


/* Product Type Selector Styles */
.product-type-selector-container,
.budget-selector-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #F4DAEC;
    min-height: 100vh;
}

.selector-header-left {
    flex: 1;
}

.selector-header-right {
    display: flex;
    align-items: center;
}

.selector-main-title {
    font-size: 48px;
    font-weight: 700;
    color: #2C2C2C;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.selector-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.selector-next-btn,
.selector-show-matches-btn {
    background: #872267;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.selector-next-btn:hover,
.selector-show-matches-btn:hover {
    background: #872267;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 45, 107, 0.3);
}

.selector-next-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.product-selector-header,
.budget-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 30px;
}

.product-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.product-category-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: none;
}

.product-category-card:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.9;
}

.product-category-card.selected {
    border: 3px solid #872267;
    box-shadow: none;
}

.category-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 125%; /* 4:5 aspect ratio */
    overflow: hidden;
}

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 1;
}

.category-name {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Budget Selector Styles */
.budget-selector-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.price-slider-card {
    max-width: 800px;
    margin: 0 auto;
}

.price-slider-wrapper {
    position: relative;
    padding: 40px 20px;
}

.price-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.price-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.price-range-slider {
    position: relative;
    height: 8px;
    margin: 40px 0;
}

.price-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 8px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 2;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #872267;
    cursor: pointer;
    pointer-events: all;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(107, 45, 107, 0.4);
}

.price-range-slider input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #872267;
    cursor: pointer;
    pointer-events: all;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.price-range-slider input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(107, 45, 107, 0.4);
}

.price-slider-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #E8D5E8;
    border-radius: 4px;
    z-index: 1;
}

.price-slider-progress {
    position: absolute;
    top: 0;
    height: 8px;
    background: #872267;
    border-radius: 4px;
    z-index: 1;
    transition: all 0.3s ease;
}

.price-values {
    position: relative;
    margin-top: 20px;
}

.price-bubble {
    position: absolute;
    transform: translateX(-50%);
    background: #F4DAEC;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #2C2C2C;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.price-bubble-from {
    background: #F4DAEC;
}

.price-bubble-to {
    background: #E8D5E8;
}

/* Product Matches Styles */
.product-matches-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #F4DAEC;
    min-height: 100vh;
}

.matches-header {
    margin-bottom: 40px;
    text-align: center;
}

.matches-title {
    font-size: 48px;
    font-weight: 700;
    color: #2C2C2C;
    margin: 0 0 12px 0;
}

.matches-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-match-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-match-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-match-image {
    width: 100%;
    padding-top: 125%;
    position: relative;
    overflow: hidden;
    background: #F5F5F5;
}

.product-match-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-match-info {
    padding: 20px;
}

.product-match-name {
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0 0 8px 0;
}

.product-match-price {
    font-size: 16px;
    font-weight: 600;
    color: #872267;
}

.no-matches-message {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    margin: 40px 0;
}

.no-matches-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.no-matches-message h3 {
    font-size: 24px;
    color: #2C2C2C;
    margin: 0 0 12px 0;
}

.no-matches-message p {
    color: #666;
    margin: 0 0 30px 0;
    font-size: 16px;
}

.back-to-selection-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #872267;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-selection-btn:hover {
    background: #872267;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 45, 107, 0.3);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .selector-main-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .product-type-selector-container,
    .budget-selector-container,
    .product-matches-container {
        padding: 20px 15px;
    }
    
    .product-selector-header,
    .budget-selector-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .selector-header-right {
        justify-content: flex-end;
    }
    
    .selector-main-title {
        font-size: 32px;
    }
    
    .selector-subtitle {
        font-size: 16px;
    }
    
    .product-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .category-name {
        font-size: 16px;
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
    
    .budget-selector-content {
        padding: 24px;
    }
    
    .price-slider-wrapper {
        padding: 30px 10px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .matches-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .product-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Seller Dashboard Styles */
.seller-dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: "Manrope", Sans-serif;
    background: #fff;
}

.seller-dashboard-header h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

/* Tabs */
.seller-dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

.seller-tab {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.seller-tab:hover {
    color: #872267;
}

.seller-tab.active {
    color: #872267;
    border-bottom-color: #872267;
}

/* Actions Bar */
.seller-dashboard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.seller-add-listing-btn {
    background: #872267;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.seller-add-listing-btn:hover {
    background: #5a2460;
}

.seller-add-listing-btn .icon-plus {
    font-size: 20px;
    font-weight: bold;
}

.seller-sort-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.seller-sort-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    min-width: 200px;
}

.seller-view-toggle {
    display: flex;
    gap: 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px;
}

.view-btn {
    background: transparent;
    border: none;
    padding: 6px 8px;
    cursor: pointer;
    color: #666;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.view-btn:hover {
    background: #f5f5f5;
}

.view-btn.active {
    background: #872267;
    color: white;
}

/* Products List */
.seller-products-container {
    min-height: 400px;
}

.seller-loading,
.seller-error,
.seller-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

.seller-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
}

.seller-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.seller-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.seller-products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.seller-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.seller-product-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: box-shadow 0.3s ease;
    position: relative;
}

.seller-product-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.seller-product-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.seller-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-product-info {
    flex: 1;
    min-width: 0;
}

.seller-product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

.seller-product-price {
    font-size: 20px;
    font-weight: 700;
    color: #872267;
    margin-bottom: 8px;
}

.seller-product-meta {
    font-size: 14px;
    color: #666;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.seller-product-status {
    font-weight: 500;
}

.seller-product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.seller-mark-sold-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.seller-mark-sold-btn:hover {
    background: #f5f5f5;
}

.seller-download-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #333;
}

.seller-download-link:hover {
    background: #f5f5f5;
}

.seller-download-link svg {
    width: 16px;
    height: 16px;
}

.seller-product-actions-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.seller-product-actions-btn:hover {
    background: #f5f5f5;
}

/* Modal */
.seller-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.seller-modal-overlay.active,
.seller-modal-overlay:not([style*="display: none"]) {
    display: flex;
}

.seller-modal {
    background: white;
    border-radius: 16px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.seller-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
    z-index: 10;
}

.seller-modal-close:hover {
    background: #f5f5f5;
}

.seller-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.seller-modal-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 30px 0;
    color: #333;
    font-family: "Manrope", Sans-serif;
}

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

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

.seller-select,
.seller-input,
.seller-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.seller-select:focus,
.seller-input:focus,
.seller-textarea:focus {
    outline: none;
    border-color: #872267;
}

.seller-textarea {
    resize: vertical;
    min-height: 100px;
}

.seller-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.seller-btn-primary {
    background: #000;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.seller-btn-primary:hover {
    background: #333;
}

.seller-btn-cancel {
    background: transparent;
    border: none;
    padding: 14px 28px;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.seller-btn-cancel:hover {
    color: #333;
}

/* Media Upload */
.seller-media-upload {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.seller-media-main {
    width: 100%;
    aspect-ratio: 4/3;
    border: 2px dashed #872267;
    border-radius: 12px;
    background: #f9f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    overflow: hidden;
}

.seller-media-main:hover {
    background: #f0e6ff;
}

.seller-media-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-media-placeholder {
    text-align: center;
    color: #872267;
}

.seller-media-placeholder svg {
    margin-bottom: 10px;
}

.seller-media-placeholder p {
    margin: 0;
    font-size: 14px;
}

.seller-media-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.seller-media-item {
    aspect-ratio: 1;
    border: 2px dashed #872267;
    border-radius: 8px;
    background: #f9f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    overflow: hidden;
}

.seller-media-item:hover {
    background: #f0e6ff;
}

.seller-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-media-placeholder-small {
    color: #872267;
}

.seller-media-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

/* Actions Menu */
.seller-actions-menu {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 200px;
    padding: 8px 0;
}

.seller-action-item {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    transition: background 0.2s ease;
}

.seller-action-item:hover {
    background: #f5f5f5;
}

.seller-action-item svg {
    width: 16px;
    height: 16px;
}

/* Status Colors */
.seller-status-active {
    border-left: 4px solid #28a745;
}

.seller-status-pending {
    border-left: 4px solid #ffc107;
}

.seller-status-sold {
    border-left: 4px solid #6c757d;
}

.seller-status-under_review {
    border-left: 4px solid #17a2b8;
}

.seller-status-cancelled {
    border-left: 4px solid #dc3545;
}

.seller-status-draft {
    border-left: 4px solid #adb5bd;
}

/* Responsive */
@media (max-width: 768px) {
    .seller-modal-content {
        grid-template-columns: 1fr;
    }
    
    .seller-dashboard-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .seller-product-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .seller-product-image {
        width: 100%;
        height: 200px;
    }
    
    .seller-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Seller Earnings Dashboard Styles */
.seller-earnings-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: "Manrope", Sans-serif;
    background: #fff;
}

/* Balance Cards */
.seller-balance-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.seller-balance-card {
    background: linear-gradient(135deg, #f9f5ff 0%, #f0e6ff 100%);
    border: 1px solid #e8d5e8;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.seller-balance-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seller-balance-amount {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: "Manrope", Sans-serif;
}

.seller-balance-note {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-top: 12px;
}

.seller-withdraw-btn {
    background: #000;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
    width: 100%;
    justify-content: center;
}

.seller-withdraw-btn:hover {
    background: #333;
}

.seller-withdraw-btn svg {
    width: 16px;
    height: 16px;
}

/* Transactions Section */
.seller-transactions-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.seller-transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.seller-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.seller-transactions-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.seller-export-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    transition: all 0.2s ease;
}

.seller-export-btn:hover {
    background: #f5f5f5;
    border-color: #872267;
}

.seller-export-btn svg {
    width: 16px;
    height: 16px;
}

.seller-timeframe-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    min-width: 150px;
}

.seller-timeframe-select:focus {
    outline: none;
    border-color: #872267;
}

/* Transactions Table */
.seller-transactions-table-wrapper {
    overflow-x: auto;
}

.seller-transactions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.seller-transactions-table thead {
    background: #f9f5ff;
}

.seller-transactions-table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e8d5e8;
    position: relative;
    white-space: nowrap;
}

.seller-transactions-table th svg {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    opacity: 0.5;
    vertical-align: middle;
}

.seller-transactions-table td {
    padding: 16px 12px;
    border-bottom: 1px dashed #e8d5e8;
    color: #666;
}

.seller-transactions-table tbody tr:hover {
    background: #f9f5ff;
}

.seller-order-link {
    color: #872267;
    text-decoration: underline;
    font-weight: 500;
}

.seller-order-link:hover {
    color: #5a2460;
}

.seller-fee-negative {
    color: #dc3545;
    font-weight: 500;
}

.seller-earnings-positive {
    color: #28a745;
    font-weight: 600;
}

.seller-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.seller-status-paid {
    background: #d4edda;
    color: #155724;
}

.seller-status-pending {
    background: #fff3cd;
    color: #856404;
}

/* Withdrawal Modal */
.seller-withdrawal-modal {
    max-width: 500px;
}

.seller-available-info {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Seller Payout Settings Styles */
.seller-payout-settings-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: "Manrope", Sans-serif;
    background: #fff;
}

.seller-payout-section,
.seller-notifications-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.seller-add-payout-btn {
    background: #000;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.seller-add-payout-btn:hover {
    background: #333;
}

.seller-add-payout-btn svg {
    width: 16px;
    height: 16px;
}

/* Payout Methods List */
.seller-payout-methods-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.seller-payout-method-item {
    background: #f9f5ff;
    border: 1px solid #e8d5e8;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.seller-payout-method-info {
    flex: 1;
}

.seller-payout-method-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.seller-payout-method-header strong {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.seller-preferred-badge {
    background: #872267;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.seller-payout-method-details {
    font-size: 14px;
    color: #666;
}

.seller-payout-method-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.seller-edit-payout-btn {
    background: #000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.seller-edit-payout-btn:hover {
    background: #333;
}

.seller-set-preferred-link,
.seller-remove-preferred-link {
    color: #872267;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.seller-set-preferred-link:hover,
.seller-remove-preferred-link:hover {
    color: #5a2460;
    text-decoration: underline;
}

.seller-delete-payout-link {
    color: #dc3545;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.seller-delete-payout-link:hover {
    color: #c82333;
}

.seller-delete-icon {
    font-size: 18px;
    font-weight: bold;
}

.seller-save-btn {
    background: #000;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.seller-save-btn:hover {
    background: #333;
}

.seller-save-notifications-btn {
    margin-top: 20px;
}

/* Notifications Settings */
.seller-notification-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.seller-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.seller-checkbox-label:hover {
    background: #f9f5ff;
}

.seller-checkbox-label input[type="checkbox"] {
    display: none;
}

.seller-checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #872267;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: white;
}

.seller-checkbox-label input[type="checkbox"]:checked + .seller-checkbox-custom {
    background: #872267;
    border-color: #872267;
}

.seller-checkbox-label input[type="checkbox"]:checked + .seller-checkbox-custom svg {
    display: block;
    color: white;
}

.seller-checkbox-label input[type="checkbox"]:not(:checked) + .seller-checkbox-custom svg {
    display: none;
}

.seller-checkbox-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.seller-payout-modal {
    max-width: 600px;
}

.seller-add-method-link {
    display: inline-block;
    margin-top: 8px;
    color: #872267;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.seller-add-method-link:hover {
    text-decoration: underline;
}

/* Responsive for Earnings & Payout */
@media (max-width: 1024px) {
    .seller-balance-cards {
        grid-template-columns: 1fr;
    }
    
    .seller-transactions-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .seller-transactions-controls {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .seller-payout-method-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .seller-payout-method-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .seller-edit-payout-btn {
        width: 100%;
    }
    
    .seller-transactions-table {
        font-size: 12px;
    }
    
    .seller-transactions-table th,
    .seller-transactions-table td {
        padding: 12px 8px;
    }
}