/* Modern WhatsApp Store Management Styles */

/* CSS Custom Properties for WhatsApp Store Theme */
:root {
    --whatsapp-primary: #25D366;
    --whatsapp-primary-dark: #128C7E;
    --whatsapp-primary-light: rgba(37, 211, 102, 0.1);
    
    --store-primary: #EEC225;
    --store-primary-dark: #d4a91a;
    --store-primary-light: rgba(238, 194, 37, 0.1);
    
    --store-success: #059669;
    --store-info: #0891b2;
    --store-warning: #d97706;
    --store-danger: #dc2626;
    --store-secondary: #64748b;
    
    --store-card-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --store-card-shadow-hover: 0 15px 40px rgba(0,0,0,0.12);
    --store-border-radius: 20px;
    --store-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --store-text-primary: #334155;
    --store-text-secondary: #64748b;
    --store-text-muted: #94a3b8;
    --store-bg-light: #f8fafc;
    --store-border: #e2e8f0;
    
    --store-gradient-warm: linear-gradient(135deg, #fefcf3 0%, #f9f7ed 100%);
    --store-gradient-primary: linear-gradient(135deg, #EEC225 0%, #d4a91a 100%);
}

/* Store Management Layout */
.store-management-wrapper {
    background: var(--store-gradient-warm);
    min-height: 100vh;
    padding: 20px 0;
}

/* Header Card Styles */
.store-header-card {
    background: var(--store-gradient-primary);
    border: none;
    border-radius: var(--store-border-radius);
    box-shadow: 0 8px 32px rgba(238, 194, 37, 0.3);
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

.store-header-content {
    padding: 30px;
    color: white;
    position: relative;
    z-index: 2;
}

.store-header-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(255,255,255,0.1)"><path d="M7 4V2C7 1.45 7.45 1 8 1H16C16.55 1 17 1.45 17 2V4H20C20.55 4 21 4.45 21 5S20.55 6 20 6H19V19C19 20.1 18.1 21 17 21H7C5.9 21 5 20.1 5 19V6H4C3.45 6 3 5.55 3 5S3.45 4 4 4H7ZM9 3V4H15V3H9ZM7 6V19H17V6H7Z"/></svg>') no-repeat;
    background-size: contain;
    opacity: 0.1;
    z-index: 1;
}

.store-header-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-header-content h2 i {
    font-size: 32px;
}

/* Plan Info Styles */
.plan-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.plan-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.upgrade-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--store-transition);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.upgrade-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-1px);
}

/* Create Store Button */
.create-store-btn {
    background: white;
    color: var(--store-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--store-transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 15px;
}

.create-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: var(--store-primary-dark);
}

.create-store-btn i {
    font-size: 16px;
}

/* Stores Grid Layout */
.stores-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

/* Store Card Styles */
.store-card {
    background: white;
    border: none;
    border-radius: var(--store-border-radius);
    box-shadow: var(--store-card-shadow);
    transition: var(--store-transition);
    overflow: hidden;
    position: relative;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--store-card-shadow-hover);
}

.store-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 20px;
    border-bottom: 1px solid var(--store-border);
}

.store-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--store-text-primary);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}

.store-name i {
    color: var(--store-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.product-count {
    background: var(--store-gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(238, 194, 37, 0.3);
}

/* Store Card Body */
.store-card-body {
    padding: 20px;
}

.store-url {
    background: var(--store-bg-light);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--store-border);
    transition: var(--store-transition);
}

.store-url:hover {
    border-color: var(--store-primary);
    background: var(--store-primary-light);
}

.store-url small {
    color: var(--store-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
}

.store-url-link {
    color: var(--store-info);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    word-break: break-all;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--store-transition);
}

.store-url-link:hover {
    color: #0e7490;
}

.store-url-link i {
    font-size: 12px;
    flex-shrink: 0;
}

/* Store Actions */
.store-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--store-transition);
    cursor: pointer;
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

.action-btn i {
    font-size: 14px;
}

.action-btn-success {
    background: linear-gradient(135deg, var(--store-success) 0%, #047857 100%);
    color: white;
}

.action-btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    color: white;
}

.action-btn-info {
    background: linear-gradient(135deg, var(--store-info) 0%, #0e7490 100%);
    color: white;
}

.action-btn-info:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
    color: white;
}

.action-btn-danger {
    background: linear-gradient(135deg, var(--store-danger) 0%, #b91c1c 100%);
    color: white;
}

.action-btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    color: white;
}

.action-btn-secondary {
    background: linear-gradient(135deg, var(--store-secondary) 0%, #475569 100%);
    color: white;
}

.action-btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
    color: white;
}

.action-btn-warning {
    background: linear-gradient(135deg, var(--store-warning) 0%, #d97706 100%);
    color: white;
}

.action-btn-warning:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--store-text-secondary);
}

.empty-state i {
    font-size: 64px;
    color: var(--store-border);
    margin-bottom: 20px;
    display: block;
}

.empty-state h3 {
    color: var(--store-text-primary);
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 600;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--store-text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .stores-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .store-header-content {
        padding: 20px;
    }
    
    .store-header-content h2 {
        font-size: 24px;
    }
    
    .plan-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .store-actions {
        justify-content: center;
    }
    
    .action-btn {
        min-width: 100px;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .store-management-wrapper {
        padding: 15px 0;
    }
}

@media (max-width: 480px) {
    .store-actions {
        flex-direction: column;
    }

    .action-btn {
        min-width: auto;
        flex: none;
    }

    .stores-grid {
        gap: 15px;
    }

    .store-card-header,
    .store-card-body {
        padding: 15px;
    }
}

/* WhatsApp Store Activation Page Styles */

/* Hero Section */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--store-transition);
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Feature Items */
.feature-item {
    padding: 30px 20px;
    transition: var(--store-transition);
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(238, 194, 37, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--store-primary);
    box-shadow: 0 15px 40px rgba(238, 194, 37, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--store-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(238, 194, 37, 0.3);
    transition: var(--store-transition);
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(238, 194, 37, 0.4);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--store-text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-desc {
    color: var(--store-text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    max-width: 280px;
}

/* Section Titles */
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--store-text-primary);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--store-text-secondary);
    margin: 0;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    border-radius: var(--store-border-radius);
    box-shadow: var(--store-card-shadow);
    overflow: hidden;
    position: relative;
    transition: var(--store-transition);
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--store-card-shadow-hover);
}

.pricing-card.popular {
    border-color: var(--store-primary);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--store-gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 0 0 15px 15px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(238, 194, 37, 0.3);
}

.pricing-header {
    padding: 30px 20px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.pricing-card.popular .pricing-header {
    background: linear-gradient(135deg, var(--store-primary-light) 0%, rgba(238, 194, 37, 0.05) 100%);
}

.plan-icon {
    width: 60px;
    height: 60px;
    background: var(--store-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(238, 194, 37, 0.3);
}

.plan-icon i {
    font-size: 24px;
    color: white;
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--store-text-primary);
    margin-bottom: 15px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--store-text-secondary);
}

.amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--store-text-primary);
}

.discount-badge {
    background: var(--store-success);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.pricing-features {
    padding: 20px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--store-text-secondary);
}

.pricing-features li i {
    color: var(--store-success);
    font-size: 16px;
    flex-shrink: 0;
}

.pricing-footer {
    padding: 20px;
    border-top: 1px solid var(--store-border);
}

.btn-choose-plan {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--store-secondary) 0%, #475569 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--store-transition);
    cursor: pointer;
}

.btn-choose-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.3);
    color: white;
}

.btn-choose-plan.popular {
    background: var(--store-gradient-primary);
    box-shadow: 0 4px 15px rgba(238, 194, 37, 0.3);
}

.btn-choose-plan.popular:hover {
    box-shadow: 0 8px 25px rgba(238, 194, 37, 0.4);
}

/* About Section */
.about-content .lead {
    font-size: 18px;
    color: var(--store-text-secondary);
    line-height: 1.7;
    text-align: center;
}

.benefit-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--store-gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(238, 194, 37, 0.2);
}

.benefit-icon i {
    font-size: 20px;
    color: white;
}

.benefit-content h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--store-text-primary);
    margin-bottom: 8px;
}

.benefit-content p {
    font-size: 14px;
    color: var(--store-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Contact Info */
.contact-info {
    transition: var(--store-transition);
}

.contact-info:hover {
    border-color: var(--store-primary) !important;
    background: var(--store-primary-light) !important;
}

/* Responsive Design for Activation Page */
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-features {
        justify-content: center;
    }

    .feature-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }

    .section-title {
        font-size: 24px;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .benefit-icon {
        margin: 0 auto;
    }

    /* Feature Items Mobile Styles */
    .feature-item {
        padding: 25px 15px;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .feature-icon i {
        font-size: 28px;
    }

    .feature-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .feature-desc {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .feature-item {
        padding: 20px 12px;
        margin-bottom: 15px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }

    .feature-icon i {
        font-size: 24px;
    }

    .feature-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .feature-desc {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* Features Section Enhancements */
.features-section {
    background: var(--store-bg-light);
}

.features-section .section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--store-text-primary);
    margin-bottom: 8px;
}

.features-section .section-subtitle {
    font-size: 16px;
    color: var(--store-text-secondary);
    margin-bottom: 0;
}

/* Feature Grid Improvements */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .features-section .section-title {
        font-size: 24px;
    }

    .features-section .section-subtitle {
        font-size: 14px;
    }
}

/* Store Initialization Form Styles */

/* Plan Feature Cards */
.plan-feature-card {
    background: white;
    border: 1px solid var(--store-border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: var(--store-transition);
    height: 100%;
}

.plan-feature-card:hover {
    border-color: var(--store-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(238, 194, 37, 0.15);
}

.plan-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--store-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(238, 194, 37, 0.2);
}

.plan-feature-icon i {
    font-size: 24px;
    color: white;
}

.plan-feature-content h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--store-text-primary);
    margin-bottom: 8px;
}

.plan-feature-value {
    margin: 0;
    font-size: 14px;
}

.plan-feature-value .unlimited {
    color: var(--store-success);
    font-weight: 700;
}

.plan-feature-value .limited {
    color: var(--store-primary);
    font-weight: 700;
}

.plan-feature-value .available {
    color: var(--store-success);
    font-weight: 600;
}

.plan-feature-value .not-available {
    color: var(--store-text-muted);
    font-weight: 500;
}

/* Store Setup Form */
.store-setup-form {
    max-width: 100%;
}

.form-section {
    background: var(--store-bg-light);
    border: 1px solid var(--store-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.form-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--store-text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--store-border);
}

.form-section-title i {
    color: var(--store-primary);
    font-size: 20px;
}

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

.modern-label {
    display: block;
    font-weight: 600;
    color: var(--store-text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.modern-label .required {
    color: var(--store-danger);
    margin-left: 4px;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--store-text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.modern-input,
.modern-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--store-border);
    border-radius: 12px;
    font-size: 14px;
    color: var(--store-text-primary);
    background: white;
    transition: var(--store-transition);
}

.modern-input:focus,
.modern-select:focus {
    outline: none;
    border-color: var(--store-primary);
    box-shadow: 0 0 0 3px var(--store-primary-light);
}

.modern-input::placeholder {
    color: var(--store-text-muted);
}

/* Mobile-First File Upload Styling */
.file-upload-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.modern-file-input {
    position: absolute;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    overflow: hidden;
    z-index: -1;
}

.file-upload-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px;
    border: 2px dashed var(--store-border);
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: var(--store-transition);
    text-align: center;
    min-height: 100px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.file-upload-display:hover,
.file-upload-display:focus,
.file-upload-display:active {
    border-color: var(--store-primary);
    background: var(--store-primary-light);
    color: var(--store-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238, 194, 37, 0.15);
}

.file-upload-display i {
    font-size: 28px;
    color: var(--store-primary);
    transition: var(--store-transition);
    margin-bottom: 4px;
}

.file-upload-display span {
    font-weight: 600;
    color: var(--store-text-secondary);
    font-size: 14px;
    line-height: 1.4;
}

/* Active state when file is selected */
.modern-file-input:focus + .file-upload-display,
.file-upload-wrapper.has-file .file-upload-display {
    border-color: var(--store-success);
    background: rgba(37, 211, 102, 0.1);
    color: var(--store-success);
}

.file-upload-wrapper.has-file .file-upload-display i {
    color: var(--store-success);
}

.file-upload-wrapper.has-file .file-upload-display span {
    color: var(--store-success);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .file-upload-display {
        padding: 20px 12px;
        min-height: 80px;
    }

    .file-upload-display i {
        font-size: 24px;
    }

    .file-upload-display span {
        font-size: 13px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .file-upload-display {
        padding: 24px 16px;
        border-width: 3px;
        min-height: 90px;
    }

    .file-upload-display:active,
    .file-upload-display.touching {
        transform: scale(0.98);
        border-color: var(--store-primary);
        background: var(--store-primary-light);
    }
}

/* File selected state */
.file-upload-wrapper.has-file .file-upload-display {
    border-style: solid;
    border-width: 2px;
}

/* Loading state for file uploads */
.file-upload-display.uploading {
    pointer-events: none;
    opacity: 0.7;
    border-color: var(--store-info);
    background: rgba(8, 145, 178, 0.1);
}

.file-upload-display.uploading i {
    animation: spin 1s linear infinite;
    color: var(--store-info);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* File selected state */
.file-upload-wrapper.has-file .file-upload-display {
    border-style: solid;
    border-width: 2px;
}

/* Loading state for file uploads */
.file-upload-display.uploading {
    pointer-events: none;
    opacity: 0.7;
}

.file-upload-display.uploading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* URL Input Group */
.url-input-group {
    display: flex;
    border: 2px solid var(--store-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--store-transition);
}

.url-input-group:focus-within {
    border-color: var(--store-primary);
    box-shadow: 0 0 0 3px var(--store-primary-light);
}

.url-prefix {
    background: var(--store-bg-light);
    padding: 12px 16px;
    border-right: 1px solid var(--store-border);
    font-size: 14px;
    color: var(--store-text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.url-input {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: 1;
}

.url-input:focus {
    outline: none;
}

/* Submit Section */
.form-submit-section {
    text-align: center;
    padding: 30px 20px;
    background: var(--store-bg-light);
    border-radius: 16px;
    border: 1px solid var(--store-border);
}

.btn-create-store {
    background: var(--store-gradient-primary);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--store-transition);
    box-shadow: 0 4px 15px rgba(238, 194, 37, 0.3);
    margin-bottom: 15px;
}

.btn-create-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(238, 194, 37, 0.4);
}

.btn-create-store i {
    font-size: 18px;
}

.submit-note {
    margin: 0;
    font-size: 14px;
    color: var(--store-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.submit-note i {
    color: var(--store-info);
}

/* Store Link Status */
.store_link_status {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
}

/* Responsive Design for Init Form */
@media (max-width: 768px) {
    .form-section {
        padding: 20px;
    }

    .form-section-title {
        font-size: 16px;
    }

    .url-input-group {
        flex-direction: column;
    }

    .url-prefix {
        border-right: none;
        border-bottom: 1px solid var(--store-border);
        text-align: center;
    }

    .btn-create-store {
        width: 100%;
        justify-content: center;
    }

    .submit-note {
        flex-direction: column;
        gap: 4px;
    }
}

/* Store Edit Page Styles */

/* Current Info Cards */
.current-info-card {
    background: white;
    border: 1px solid var(--store-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--store-transition);
    height: 100%;
}

.current-info-card:hover {
    border-color: var(--store-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(238, 194, 37, 0.1);
}

.current-info-icon {
    width: 50px;
    height: 50px;
    background: var(--store-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(238, 194, 37, 0.2);
}

.current-info-icon i {
    font-size: 20px;
    color: white;
}

.current-info-content h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--store-text-primary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.current-info-content p {
    font-size: 16px;
    color: var(--store-text-secondary);
    margin: 0;
    font-weight: 500;
    word-break: break-all;
}

/* Current Image Preview */
.current-image-preview {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--store-border);
}

.current-image-preview img {
    border: 2px solid var(--store-border);
    transition: var(--store-transition);
}

.current-image-preview img:hover {
    border-color: var(--store-primary);
    transform: scale(1.05);
}

/* Submit Buttons */
.submit-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
}

.btn-cancel {
    background: var(--store-secondary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: var(--store-radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--store-transition);
}

.btn-cancel:hover {
    background: #475569;
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--store-shadow-lg);
}

.btn-update-store {
    background: var(--store-gradient-primary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: var(--store-radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--store-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(238, 194, 37, 0.3);
}

.btn-update-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(238, 194, 37, 0.4);
}

.btn-update-store i,
.btn-cancel i {
    font-size: 16px;
}

/* Responsive Design for Edit Page */
@media (max-width: 768px) {
    .current-info-card {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .current-info-content h5 {
        margin-top: 8px;
    }

    .submit-buttons {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-update-store {
        width: 100%;
        justify-content: center;
    }

    .current-image-preview img {
        max-width: 100px;
    }
}
