/* Modern Order Chat Styles */

/* Main Header */
.order-chat-main-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px;
    background: linear-gradient(135deg, #8D3FF2 0%, #7C3AED 50%, #6D28D9 100%);
    border-radius: 20px;
    margin-bottom: 32px;
    box-shadow: 0 8px 24px rgba(141, 63, 242, 0.25);
    position: relative;
    overflow: hidden;
}

.order-chat-main-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.order-chat-main-header .header-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.order-chat-main-header .header-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.order-chat-main-header .header-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

/* Order Info Card */
.order-info-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 24px;
    border: 2px solid #f3f4f6;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.order-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8D3FF2 0%, #7C3AED 50%, #6D28D9 100%);
}

.order-info-card:hover {
    border-color: #e9d5ff;
    box-shadow: 0 12px 48px rgba(141, 63, 242, 0.15);
    transform: translateY(-4px);
}

/* Order Image Wrapper */
.order-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.order-image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(141, 63, 242, 0.2);
}

.order-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-image-wrapper:hover .order-product-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(141, 63, 242, 0.9) 0%, rgba(109, 40, 217, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.order-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 48px;
    color: #ffffff;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Order Details */
.order-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border: 2px solid #e9d5ff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #7c3aed;
    width: fit-content;
    transition: all 0.3s ease;
}

.brand-badge:hover {
    background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
    border-color: #c4b5fd;
    transform: translateY(-2px);
}

.brand-badge i {
    font-size: 16px;
}

.order-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* Order Specs */
.order-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.spec-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
}

.spec-badge i {
    font-size: 18px;
}

.duration-badge {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-color: #e9d5ff;
    color: #7c3aed;
}

.duration-badge:hover {
    background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
    border-color: #c4b5fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.videos-badge {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.videos-badge:hover {
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
    border-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}

.price-badge {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #a7f3d0;
    color: #065f46;
    font-size: 18px;
    font-weight: 700;
}

.price-badge:hover {
    background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
    border-color: #6ee7b7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 95, 70, 0.2);
}

/* Modern Back Button */
.modern-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 2px solid #d1d5db;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-back-btn:hover {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border-color: #9ca3af;
    color: #1f2937;
    transform: translateX(-4px);
    text-decoration: none;
}

.modern-back-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.modern-back-btn:hover i {
    transform: translateX(-4px);
}

/* Proposal Section Card */
.proposal-section-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 24px;
    border: 2px solid #f3f4f6;
    overflow: hidden;
    transition: all 0.3s ease;
}

.proposal-section-card:hover {
    border-color: #e9d5ff;
    box-shadow: 0 8px 24px rgba(141, 63, 242, 0.1);
}

.proposal-section-card .section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-bottom: 2px solid #e9d5ff;
}

.proposal-section-card .section-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #8D3FF2 0%, #7C3AED 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(141, 63, 242, 0.3);
}

.proposal-section-card .section-title h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.proposal-section-card .section-title p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.proposal-section-card .section-content {
    padding: 28px;
}

.proposal-section-card .section-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.proposal-section-card .section-content h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #8D3FF2 0%, #7C3AED 100%);
    border-radius: 2px;
}

/* Proposal Tips Section */
.proposal-tips {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.proposal-tips::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.tips-header i {
    font-size: 32px;
    color: #f59e0b;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { 
        filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.8));
        transform: scale(1.05);
    }
}

.tips-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: #92400e;
    margin: 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.tip-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tip-card:hover {
    transform: translateY(-4px);
    border-color: #fbbf24;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.2);
}

.tip-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #fbbf24;
}

.tip-icon i {
    font-size: 22px;
    color: #f59e0b;
}

.tip-content h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px 0;
}

.tip-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .order-chat-main-header {
        padding: 24px;
    }

    .order-chat-main-header .header-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .order-chat-main-header .header-content h3 {
        font-size: 24px;
    }

    .order-info-card {
        padding: 24px;
    }

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

    .spec-badge {
        padding: 10px 16px;
        font-size: 14px;
    }

    .price-badge {
        font-size: 16px;
    }

    .proposal-section-card .section-header {
        padding: 20px 24px;
    }

    .proposal-section-card .section-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .proposal-section-card .section-title h4 {
        font-size: 18px;
    }

    .proposal-section-card .section-content {
        padding: 24px;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tip-card {
        padding: 16px;
    }

    .tip-icon {
        width: 40px;
        height: 40px;
    }

    .tip-icon i {
        font-size: 18px;
    }

    .tip-content h5 {
        font-size: 15px;
    }

    .tip-content p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .order-chat-main-header {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .order-chat-main-header .header-content h3 {
        font-size: 22px;
    }

    .order-chat-main-header .header-content p {
        font-size: 14px;
    }

    .order-info-card {
        padding: 20px;
    }

    .proposal-section-card .section-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .proposal-section-card .section-content {
        padding: 20px;
    }

    .proposal-tips {
        padding: 20px;
    }

    .tips-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .tips-header i {
        font-size: 28px;
    }

    .tips-header h4 {
        font-size: 18px;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-info-card,
.proposal-section-card {
    animation: slideInUp 0.4s ease-out backwards;
}

.order-info-card {
    animation-delay: 0.1s;
}

.proposal-section-card {
    animation-delay: 0.2s;
}
