        .upload-area {
            border: 2px dashed #7d64ff;
            border-radius: 12px;
            padding: 60px 40px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            position: relative;
            overflow: hidden;
        }

        .upload-area::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(125, 100, 255, 0.1), transparent);
            transition: left 0.5s;
        }

        .upload-area:hover::before {
            left: 100%;
        }

        .upload-area:hover,
        .upload-area.dragover {
            background: linear-gradient(135deg, #f0f0ff 0%, #f8f9fa 100%);
            border-color: #6366f1;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
        }

        .upload-area i {
            transition: transform 0.3s;
        }

        .upload-area:hover i {
            transform: scale(1.1);
        }

        .step-area {
            display: none;
            margin: 2rem auto;
            animation: fadeInUp 0.5s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Loading States */
        .loading-container {
            background: white;
            border-radius: 16px;
            padding: 2.5rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        .file-info-card {
            background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
            border: 1px solid rgba(99, 102, 241, 0.2);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .file-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.8rem;
            flex-shrink: 0;
        }

        .file-details {
            flex: 1;
            text-align: left;
        }

        .file-name {
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--gray-900);
            margin-bottom: 0.25rem;
            word-break: break-word;
        }

        .file-size {
            color: var(--gray-600);
            font-size: 0.9rem;
        }

        /* Step Indicators */
        .step-indicators {
            display: flex;
            justify-content: space-between;
            margin: 2rem 0;
            position: relative;
        }

        .step-indicators::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--gray-200);
            z-index: 0;
        }

        .step-indicator {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .step-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: white;
            border: 3px solid var(--gray-200);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: var(--gray-600);
            transition: all 0.3s;
            position: relative;
        }

        .step-indicator.active .step-circle {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-color: #667eea;
            color: white;
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        }

        .step-indicator.completed .step-circle {
            background: var(--secondary);
            border-color: var(--secondary);
            color: white;
        }

        .step-indicator.completed .step-circle::after {
            content: '✓';
            font-size: 1.2rem;
        }

        .step-label {
            margin-top: 0.75rem;
            font-size: 0.85rem;
            color: var(--gray-600);
            font-weight: 500;
            text-align: center;
        }

        .step-indicator.active .step-label {
            color: var(--primary);
            font-weight: 600;
        }

        /* Progress Bar */
        .progress-container {
            margin: 2rem 0;
        }

        .progress-wrapper {
            background: var(--gray-100);
            border-radius: 12px;
            height: 12px;
            overflow: hidden;
            position: relative;
            margin-bottom: 1rem;
        }

        .progress-bar-enhanced {
            height: 100%;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
            background-size: 200% 100%;
            border-radius: 12px;
            transition: width 0.3s ease-out;
            animation: progressShine 2s infinite;
            position: relative;
            overflow: hidden;
        }

        @keyframes progressShine {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        .progress-bar-enhanced::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            animation: shimmer 1.5s infinite;
        }

        @keyframes shimmer {
            0% {
                transform: translateX(-100%);
            }

            100% {
                transform: translateX(100%);
            }
        }

        .progress-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 0.5rem;
        }

        .progress-percent {
            font-weight: 600;
            color: var(--primary);
            font-size: 1.1rem;
        }

        .progress-time {
            color: var(--gray-600);
            font-size: 0.9rem;
        }

        /* Status Message */
        .status-message {
            text-align: center;
            padding: 1.5rem;
            background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
            border-radius: 12px;
            margin: 1.5rem 0;
        }

        .status-message h4 {
            color: var(--gray-900);
            font-weight: 600;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
        }

        .status-message .status-icon {
            font-size: 1.5rem;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }

            50% {
                opacity: 0.7;
                transform: scale(1.05);
            }
        }

        .status-message p {
            color: var(--gray-600);
            margin: 0;
        }

        /* Spinner */
        .spinner-container {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 4px solid var(--gray-200);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

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

        /* Error State */
        .error-state {
            background: #fef2f2;
            border: 1px solid #fecaca;
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
        }

        .error-state i {
            color: #ef4444;
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .error-state h4 {
            color: #dc2626;
            margin-bottom: 0.5rem;
        }

        .error-state p {
            color: #991b1b;
            margin-bottom: 1.5rem;
        }

        /* Success State */
        .success-animation {
            animation: successBounce 0.6s ease-out;
        }

        @keyframes successBounce {
            0% {
                transform: scale(0);
            }

            50% {
                transform: scale(1.1);
            }

            100% {
                transform: scale(1);
            }
        }

        /* Buttons */
        .btn {
            transition: all 0.3s;
            border-radius: 8px;
            font-weight: 500;
        }

        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        }

        .btn-primary:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
        }

        /* Skeleton Loading */
        .skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s infinite;
            border-radius: 8px;
        }

        @keyframes skeleton-loading {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        .skeleton-text {
            height: 1rem;
            margin-bottom: 0.5rem;
        }

        .skeleton-text.short {
            width: 60%;
        }

        .skeleton-text.medium {
            width: 80%;
        }

        /* Payment Modal Enhancements - Professional & Trustworthy */
        .payment-modal {
            border-radius: 20px;
            overflow: hidden;
        }

        .payment-modal-dialog {
            max-width: 95%;
            width: 100%;
        }

        .payment-modal .modal-content {
            border: none;
            border-radius: 20px;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
            overflow: hidden;
        }

        .payment-modal .modal-header {
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            color: white;
            border: none;
            padding: 2rem 2.5rem;
            position: relative;
            overflow: hidden;
        }

        .payment-modal .modal-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            opacity: 0.5;
        }

        .payment-modal .modal-header .modal-title {
            font-weight: 700;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            position: relative;
            z-index: 1;
            letter-spacing: -0.02em;
        }

        .payment-modal .modal-header .modal-title i {
            font-size: 1.75rem;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .payment-modal .modal-header .btn-close {
            filter: brightness(0) invert(1);
            opacity: 0.8;
            position: relative;
            z-index: 1;
            transition: all 0.3s;
        }

        .payment-modal .modal-header .btn-close:hover {
            opacity: 1;
            transform: rotate(90deg);
        }

        .payment-modal .modal-body {
            padding: 0;
            background: #ffffff;
        }

        .payment-modal-content {
            padding: 2rem;
        }

        /* Mobile Responsive Styles */
        @media (max-width: 768px) {
            .payment-modal-dialog {
                max-width: 100%;
                margin: 0.5rem;
            }

            .payment-modal .modal-header {
                padding: 1.25rem 1.5rem;
            }

            .payment-modal .modal-header .modal-title {
                font-size: 1.25rem;
            }

            .payment-modal .modal-header .modal-title i {
                font-size: 1.5rem;
            }

            .payment-modal-content {
                padding: 1.25rem;
            }

            .payment-summary {
                padding: 0.875rem 1rem;
                margin-bottom: 1.25rem;
            }

            .payment-summary-header {
                margin-bottom: 0.625rem;
                padding-bottom: 0.625rem;
            }

            .payment-summary-header i {
                font-size: 1.125rem;
            }

            .payment-summary-title {
                font-size: 0.875rem;
            }

            .payment-summary-item {
                padding: 0.375rem 0;
            }

            .payment-summary-item.total {
                margin-top: 0.375rem;
                padding-top: 0.625rem;
                font-size: 1rem;
            }

            .payment-summary-label {
                font-size: 0.8125rem;
            }

            .payment-summary-value {
                font-size: 0.875rem;
            }

            .payment-summary-item.total .payment-summary-value {
                font-size: 1.125rem;
            }

            .card-input-wrapper {
                margin: 1.5rem 0;
            }

            .card-input-label {
                font-size: 0.9375rem;
                margin-bottom: 0.75rem;
            }

            .card-input-container {
                padding: 1rem 1.25rem;
            }

            .card-input-hint {
                font-size: 0.8125rem;
                padding: 0.625rem 0.875rem;
                margin-top: 0.75rem;
            }

            .security-section {
                padding: 1.25rem;
                margin: 1.5rem 0;
            }

            .security-section-title {
                font-size: 0.8125rem;
                margin-bottom: 0.875rem;
            }

            .security-badges {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.75rem;
                margin-top: 0.875rem;
            }

            .security-badge {
                padding: 0.625rem;
                gap: 0.5rem;
            }

            .security-badge i {
                font-size: 1.125rem;
            }

            .security-badge-text {
                font-size: 0.8125rem;
            }

            .payment-methods {
                gap: 0.5rem;
                margin-top: 0.875rem;
            }

            .payment-method-icon {
                width: 36px;
                height: 22px;
                font-size: 0.6875rem;
            }

            .trust-indicators {
                gap: 1rem;
                padding: 0.875rem 0;
                margin-top: 1.25rem;
                flex-direction: column;
                align-items: flex-start;
            }

            .trust-indicator {
                font-size: 0.8125rem;
                gap: 0.5rem;
            }

            .trust-indicator i {
                font-size: 0.9375rem;
            }

            .payment-button {
                padding: 1rem 1.5rem;
                font-size: 1rem;
            }

            .payment-footer {
                padding: 1.25rem 1.5rem;
                margin-top: 1.5rem;
            }

            .payment-footer-content {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
            }

            .payment-footer-text {
                font-size: 0.75rem;
            }

            .payment-footer-links {
                gap: 1rem;
                flex-wrap: wrap;
            }

            .payment-footer-links a {
                font-size: 0.75rem;
            }
        }

        @media (max-width: 480px) {
            .payment-modal-dialog {
                margin: 0.5rem;
            }

            .payment-modal .modal-header {
                padding: 1rem 1.25rem;
            }

            .payment-modal-content {
                padding: 1.25rem;
            }

            .payment-summary {
                padding: 1rem;
            }

            .security-badges {
                grid-template-columns: 1fr;
            }

            .payment-button {
                padding: 0.875rem 1.25rem;
                font-size: 0.9375rem;
            }
        }

        .payment-summary {
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 1rem 1.25rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
        }

        .payment-summary-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid #e2e8f0;
        }

        .payment-summary-header i {
            font-size: 1.25rem;
            color: var(--primary);
        }

        .payment-summary-title {
            font-size: 0.9375rem;
            color: var(--gray-900);
            font-weight: 700;
            letter-spacing: -0.01em;
        }

        .payment-summary-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 0;
            border-bottom: 1px solid #f1f5f9;
        }

        .payment-summary-item:last-of-type {
            border-bottom: none;
        }

        .payment-summary-item.total {
            margin-top: 0.5rem;
            padding-top: 0.75rem;
            border-top: 1px solid #e2e8f0;
            font-weight: 700;
            font-size: 1.125rem;
        }

        .payment-summary-label {
            color: var(--gray-600);
            font-size: 0.875rem;
            font-weight: 500;
        }

        .payment-summary-item.total .payment-summary-label {
            color: var(--gray-900);
            font-size: 1rem;
        }

        .payment-summary-value {
            color: var(--gray-900);
            font-weight: 600;
            font-size: 0.9375rem;
        }

        .payment-summary-item.total .payment-summary-value {
            color: var(--primary);
            font-size: 1.25rem;
        }

        .card-input-wrapper {
            position: relative;
            margin: 2rem 0;
        }

        .card-input-label {
            display: block;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 1rem;
            font-size: 1rem;
            letter-spacing: -0.01em;
        }

        .card-input-label i {
            margin-right: 0.5rem;
            color: var(--primary);
        }

        .card-input-container {
            background: #ffffff;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            padding: 1.25rem 1.5rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }

        .card-input-container:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 4px 12px rgba(99, 102, 241, 0.15);
            transform: translateY(-1px);
        }

        .card-input-container.error {
            border-color: #ef4444;
            background: #fef2f2;
            box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
        }

        #card-element {
            padding: 0 !important;
            border: none !important;
            background: transparent !important;
        }

        .card-input-hint {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 1rem;
            font-size: 0.875rem;
            color: var(--gray-600);
            padding: 0.75rem 1rem;
            background: #f8fafc;
            border-radius: 8px;
            border-left: 3px solid var(--secondary);
        }

        .card-input-hint i {
            color: var(--secondary);
            font-size: 1rem;
        }

        .security-section {
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 1.5rem;
            margin: 2rem 0;
        }

        .security-section-title {
            font-size: 0.875rem;
            font-weight: 700;
            color: var(--gray-900);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .security-badges {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }

        .security-badge {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            background: white;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            transition: all 0.3s;
        }

        .security-badge:hover {
            border-color: var(--primary);
            box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
        }

        .security-badge i {
            color: var(--secondary);
            font-size: 1.25rem;
        }

        .security-badge-text {
            color: var(--gray-700);
            font-size: 0.875rem;
            font-weight: 600;
        }

        .payment-methods {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-top: 1rem;
            flex-wrap: wrap;
        }

        .payment-method-icon {
            width: 40px;
            height: 24px;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            color: var(--gray-600);
            font-weight: 600;
        }

        .payment-button {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            border-radius: 12px;
            padding: 1.25rem 2rem;
            font-weight: 700;
            font-size: 1.125rem;
            color: white;
            width: 100%;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35), 0 2px 4px rgba(99, 102, 241, 0.2);
            position: relative;
            overflow: hidden;
            letter-spacing: 0.01em;
        }

        .payment-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
            transition: left 0.6s;
        }

        .payment-button:hover:not(:disabled)::before {
            left: 100%;
        }

        .payment-button:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4), 0 4px 8px rgba(99, 102, 241, 0.25);
        }

        .payment-button:active:not(:disabled) {
            transform: translateY(0);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        }

        .payment-button:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none !important;
        }

        .payment-button .spinner-border-sm {
            width: 1.125rem;
            height: 1.125rem;
            border-width: 2.5px;
        }

        .payment-footer {
            background: #f8fafc;
            border-top: 1px solid #e2e8f0;
            padding: 1.5rem 2.5rem;
            margin-top: 2rem;
        }

        .payment-footer-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .payment-footer-text {
            font-size: 0.8125rem;
            color: var(--gray-600);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .payment-footer-text i {
            color: var(--secondary);
        }

        .payment-footer-links {
            display: flex;
            gap: 1.5rem;
        }

        .payment-footer-links a {
            font-size: 0.8125rem;
            color: var(--gray-600);
            text-decoration: none;
            transition: color 0.2s;
        }

        .payment-footer-links a:hover {
            color: var(--primary);
        }

        .trust-indicators {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            padding: 1rem 0;
            border-top: 1px solid #e2e8f0;
            margin-top: 1.5rem;
        }

        .trust-indicator {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8125rem;
            color: var(--gray-600);
        }

        .trust-indicator i {
            color: var(--secondary);
            font-size: 1rem;
        }

        .card-errors {
            background: #fef2f2;
            border: 1px solid #fecaca;
            border-radius: 8px;
            padding: 0.75rem 1rem;
            color: #dc2626;
            font-size: 0.9rem;
            margin-top: 1rem;
            display: none;
        }

        .card-errors.show {
            display: block;
            animation: shake 0.5s;
        }

        @keyframes shake {

            0%,
            100% {
                transform: translateX(0);
            }

            25% {
                transform: translateX(-10px);
            }

            75% {
                transform: translateX(10px);
            }
        }

        .payment-success {
            text-align: center;
            padding: 2rem;
        }

        .payment-success-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            animation: successBounce 0.6s ease-out;
        }

        .payment-success-icon i {
            font-size: 2.5rem;
            color: white;
        }

        /* Stripe Elements Custom Styling */
        .StripeElement {
            height: auto;
            padding: 0.75rem 0;
        }

        .StripeElement--focus {
            outline: none;
        }

        .StripeElement--invalid {
            color: #ef4444;
        }

        .StripeElement--webkit-autofill {
            background-color: #fefde8 !important;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .step-indicators {
                flex-direction: column;
                gap: 1rem;
            }

            .step-indicators::before {
                display: none;
            }

            .file-info-card {
                flex-direction: column;
                text-align: center;
            }

            .file-details {
                text-align: center;
            }

            .payment-modal .modal-body {
                padding: 0;
            }

            .security-badges {
                flex-direction: column;
                gap: 0.75rem;
            }
        }

        /* Language Selector Styles */
        .language-selector-wrapper {
            position: relative;
        }

        .custom-language-select {
            position: relative;
            width: 100%;
        }

        .custom-language-select-trigger {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            padding: 1rem 3rem 1rem 3.5rem;
            font-size: 1rem;
            font-weight: 500;
            color: #1e293b;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            position: relative;
        }

        .custom-language-select-trigger::before {
            content: '\F2B7';
            font-family: 'bootstrap-icons';
            position: absolute;
            left: 1rem;
            color: #667eea;
            font-size: 1.25rem;
        }

        .custom-language-select-trigger::after {
            content: '';
            width: 12px;
            height: 12px;
            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='%23667eea' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            transition: transform 0.3s;
        }

        .custom-language-select-trigger:hover {
            border-color: #667eea;
            background: linear-gradient(135deg, #ffffff 0%, #f0f0ff 100%);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
            transform: translateY(-1px);
        }

        .custom-language-select.active .custom-language-select-trigger {
            border-color: #667eea;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 4px 12px rgba(99, 102, 241, 0.2);
        }

        .custom-language-select.active .custom-language-select-trigger::after {
            transform: rotate(180deg);
        }

        .custom-language-select-trigger-text {
            padding-left: 2rem;
            flex: 1;
            text-align: left;
        }

        .custom-language-select-dropdown {
            position: absolute;
            top: calc(100% + 0.5rem);
            left: 0;
            right: 0;
            background: white;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            max-height: 400px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .custom-language-select.active .custom-language-select-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .custom-language-select-search {
            padding: 1rem;
            border-bottom: 1px solid #e2e8f0;
            position: relative;
        }

        .custom-language-select-search input {
            width: 100%;
            padding: 0.75rem 2.5rem 0.75rem 1rem;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.95rem;
            transition: all 0.2s;
        }

        .custom-language-select-search input:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        .custom-language-select-search::after {
            content: '\F52A';
            font-family: 'bootstrap-icons';
            position: absolute;
            right: 1.75rem;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 1rem;
        }

        .custom-language-select-list {
            max-height: 300px;
            overflow-y: auto;
            padding: 0.5rem;
        }

        .custom-language-select-list::-webkit-scrollbar {
            width: 8px;
        }

        .custom-language-select-list::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 4px;
        }

        .custom-language-select-list::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 4px;
        }

        .custom-language-select-list::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        .custom-language-select-item {
            padding: 0.875rem 1rem;
            cursor: pointer;
            border-radius: 8px;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: #1e293b;
            font-size: 0.95rem;
            position: relative;
        }

        .language-flag {
            font-size: 1.25rem;
            line-height: 1;
            flex-shrink: 0;
            width: 1.5rem;
            text-align: center;
        }

        .language-text {
            flex: 1;
        }

        .custom-language-select-trigger-text {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .custom-language-select-trigger-text .language-flag {
            font-size: 1.1rem;
        }

        .custom-language-select-item:hover {
            background: linear-gradient(135deg, #f0f0ff 0%, #f8f9ff 100%);
            color: #667eea;
            transform: translateX(4px);
        }

        .custom-language-select-item.selected {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-weight: 600;
        }

        .custom-language-select-item.selected::after {
            content: '\F633';
            font-family: 'bootstrap-icons';
            position: absolute;
            right: 1rem;
            font-size: 1.1rem;
        }

        .custom-language-select-item.highlighted {
            background: linear-gradient(135deg, #f0f0ff 0%, #f8f9ff 100%);
            color: #667eea;
        }

        .custom-language-select-empty {
            padding: 2rem 1rem;
            text-align: center;
            color: #94a3b8;
            font-size: 0.9rem;
        }

        .language-label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 0.75rem;
        }

        .language-label i {
            color: #667eea;
        }

        /* Hidden native select for form submission */
        #language-select {
            display: none;
        }

        /* ============================================ */
        /* NEW: ConversionCore Feature Styles           */
        /* ============================================ */

        /* Page count badge */
        #page-count {
            transition: all 0.3s ease;
        }

        #page-count:hover {
            transform: scale(1.05);
        }

        /* Processing tips */
        #processing-tips {
            text-align: center;
            transition: opacity 0.3s ease;
        }

        #processing-tips i {
            color: #0c5ba0;
            font-size: 1.1rem;
        }

        /* fadeIn animation for tips */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Notification toast animations */
        @keyframes slideIn {
            from {
                transform: translateX(400px);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }

            to {
                transform: translateX(400px);
                opacity: 0;
            }
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            #page-count {
                font-size: 0.8rem !important;
                padding: 0.4rem 0.8rem !important;
            }

            #processing-tips {
                font-size: 0.9rem;
                padding: 0.75rem;
            }
        }
