/* ========================================
   GOOGLE FONTS IMPORT
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 0;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 20px 20px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ========================================
   HEADER & LOGO - GLASSMORPHISM
   ======================================== */
.header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 14px;
    animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    grid-column: 1;
    grid-row: 1;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    transition: transform 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.logo-icon:hover {
    transform: rotate(10deg) scale(1.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.logo-icon i {
    font-size: 22px;
    color: white;
}

.logo span {
    font-size: 22px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
}

.header-btn {
    background: white;
    color: #667eea;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.header-btn i {
    font-size: 14px;
}

/* ========================================
   HEADER IMAGE
   ======================================== */
.header-image-container {
    grid-column: 1 / -1;
    grid-row: 2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    margin: 0 -4px;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 100px;
}

/* ========================================
   LIVE NOTIFICATION BANNER - INSIDE HEADER
   ======================================== */
.notification-banner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    grid-column: 1 / -1;
    grid-row: 3;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.notification-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-text {
    color: #1f2937;
    font-size: 12px;
    font-weight: 600;
    flex: 1;
    font-family: 'Poppins', sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   PROGRESS STEPS
   ======================================== */
.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    padding: 0 10px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 0;
    border-radius: 10px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step.active .step-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
    transform: scale(1.15);
}

.step.completed .step-circle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: white;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.step-label {
    font-size: 13px;
    color: white;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   CARDS - MODERN DESIGN
   ======================================== */
.order-card,
.confirm-card,
.success-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    max-width: 480px;
    margin: 0 auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   FORM ELEMENTS - ENHANCED
   ======================================== */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1f2937;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f9fafb;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    -webkit-text-size-adjust: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media (max-width: 640px) {
    .form-group input[type="text"],
    .form-group input[type="number"],
    .form-group select {
        font-size: 16px;
    }
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: #9ca3af;
}

/* Custom Select with Preview */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
    background: transparent;
    color: transparent;
}

.select-wrapper select:focus {
    background: white;
    color: #1f2937;
}

.select-wrapper select option {
    color: #1f2937;
    background: white;
    padding: 10px;
}

.select-display {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    z-index: 1;
    transition: opacity 0.2s ease;
}

.select-wrapper select:focus + .select-display {
    opacity: 0;
}

.select-display img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 8px;
}

.select-display span {
    font-size: 15px;
    color: #1f2937;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Form Row */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

/* ========================================
   PRICE DISPLAY - GRADIENT WITH SHIMMER
   ======================================== */
.price-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px;
    border-radius: 18px;
    margin: 24px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.price-display::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.price-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
}

.price-amount {
    color: white;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   BUTTONS - MODERN STYLE
   ======================================== */
.btn-submit,
.btn,
.btn-confirm,
.btn-back,
.btn-whatsapp,
.btn-home {
    width: 100%;
    padding: 18px 28px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.btn-submit,
.btn-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-submit:hover,
.btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.btn-submit:active,
.btn-confirm:active {
    transform: translateY(-1px);
}

.btn-back {
    background: #f3f4f6;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.btn-back:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.btn-home {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.5);
}

.button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

@media (max-width: 640px) {
    .button-group {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* ========================================
   TRUST BADGES - MODERN GRID
   ======================================== */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 2px solid #f3f4f6;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.badge:hover {
    border-color: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.badge-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.badge span:last-child {
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   CONFIRM PAGE STYLES
   ======================================== */
.confirm-header {
    text-align: center;
    margin-bottom: 30px;
}

.confirm-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    font-family: 'Poppins', sans-serif;
}

.confirm-header p {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

/* Product Info */
.product-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.product-info img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-details h3 {
    color: white;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.product-details p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Order Details */
.order-details {
    background: #f9fafb;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 2px solid #e5e7eb;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 2px solid #e5e7eb;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 18px;
    border-radius: 12px;
    margin-top: 12px;
    border-bottom: none;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.detail-row.highlight .detail-label,
.detail-row.highlight .detail-value {
    color: white;
    font-weight: 800;
}

.detail-label {
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
}

.detail-value {
    color: #1f2937;
    font-weight: 700;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

/* Instruction Card */
.instruction-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.2);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.instruction-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-weight: 800;
    color: #92400e;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
}

.instruction-title i {
    font-size: 22px;
}

.instruction-steps {
    list-style: none;
    padding: 0;
}

.instruction-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    color: #78350f;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.step-number {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    font-family: 'Poppins', sans-serif;
}

.warning-note {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fee2e2;
    border: 2px solid #f87171;
    padding: 14px;
    border-radius: 12px;
    margin-top: 18px;
    color: #991b1b;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(248, 113, 113, 0.2);
    font-family: 'Poppins', sans-serif;
}

.warning-note i {
    font-size: 20px;
}

/* Code Box */
.code-box-container {
    margin: 18px 0;
}

.code-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 12px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

.code-display {
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    padding: 18px;
    border-radius: 14px;
    border: 3px dashed #fbbf24;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.15);
}

.code-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.code-value {
    flex: 1;
    font-size: 22px;
    font-weight: 800;
    color: #667eea;
    letter-spacing: 1.5px;
    font-family: 'Poppins', sans-serif;
}

.copy-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.copy-btn.copied {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Info Card & Box */
.info-card,
.info-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #3b82f6;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.info-card-title,
.info-box-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.info-card-text,
.info-box-text {
    color: #1e3a8a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   UPLOAD SECTION
   ======================================== */
.upload-section {
    margin: 28px 0;
}

.upload-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 800;
    color: #1f2937;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
}

.upload-area {
    position: relative;
    border: 3px dashed #d1d5db;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #667eea;
    background: #f3f4f6;
    transform: translateY(-2px);
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    pointer-events: none;
}

.upload-placeholder.hide {
    display: none;
}

.upload-icon {
    font-size: 56px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.upload-text {
    font-size: 17px;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.upload-subtext {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

/* Image Preview */
.image-preview {
    display: none;
}

.image-preview.show {
    display: block;
}

.preview-container {
    position: relative;
    margin-bottom: 16px;
}

.preview-image {
    max-width: 100%;
    max-height: 320px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.remove-image {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.remove-image:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.5);
}

.file-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #10b981;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

/* Upload States */
.upload-error,
.upload-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.upload-error.show,
.upload-success.show {
    display: flex;
}

.upload-error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #f87171;
}

.upload-success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

/* ========================================
   SUCCESS PAGE
   ======================================== */
.success-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.success-icon {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    color: white;
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

@keyframes scaleIn {
    0% {
        transform: scale(0) rotate(-180deg);
    }
    50% {
        transform: scale(1.15) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.success-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    font-family: 'Poppins', sans-serif;
}

.success-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 32px;
    font-family: 'Poppins', sans-serif;
}

.order-id-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.order-id-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s linear infinite;
}

.order-id-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
}

.order-id-value {
    color: white;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 640px) {
    body {
        padding: 0;
    }

    .header {
        margin: 0 15px 20px;
        padding: 14px 18px;
        gap: 12px;
    }

    .logo span {
        font-size: 17px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .logo-icon i {
        font-size: 17px;
    }

    .header-btn {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }

    .header-btn i {
        font-size: 12px;
    }

    .header-image {
        max-height: 70px;
    }

    .notification-banner {
        padding: 8px 12px;
    }

    .notification-icon {
        width: 28px;
        height: 28px;
    }

    .notification-text {
        font-size: 11px;
    }

    .container {
        padding: 15px;
    }

    .order-card,
    .confirm-card,
    .success-card {
        padding: 24px;
    }

    .steps {
        padding: 0 5px;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .step-label {
        font-size: 11px;
    }

    .button-group {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .price-amount {
        font-size: 28px;
    }

    .confirm-header h2,
    .success-title {
        font-size: 22px;
    }

    .product-info {
        flex-direction: column;
        text-align: center;
    }

    .code-value {
        font-size: 18px;
    }

    .order-id-value {
        font-size: 22px;
        letter-spacing: 2px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-20 {
    margin-top: 20px;
}

.p-20 {
    padding: 20px;
}

.fw-bold {
    font-weight: 700;
}

.text-muted {
    color: #6b7280;
}

.text-danger {
    color: #ef4444;
}

.text-success {
    color: #10b981;
}