/* Main Header Styles */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-section {
    display: flex;
    align-items: center;
}

.home-button {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.home-button:hover {
    color: #667eea;
}

.home-button i {
    font-size: 24px;
    color: #667eea;
}

.nav-section {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: #667eea;
}

.language-dropdown {
    position: relative;
}

.language-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    display: none;
    margin-top: 10px;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #667eea;
}

/* Snackbar Styles */
.snackbar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.snackbar.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.snackbar.info {
    background: #17a2b8;
}

.snackbar.success {
    background: #28a745;
}

.snackbar.warning {
    background: #ffc107;
    color: #333;
}

.snackbar.error {
    background: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    flex-wrap: wrap;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 15px 50px;
    border-radius: 100px;
    /* Pill shape */
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
    animation: simplePulse 3s infinite ease-in-out;
    color: white;
    cursor: default;
    border: none;
}

.logo i {
    font-size: 28px;
    color: white;
}

.logo span {
    font-size: 24px;
    font-weight: 700;
    color: white;
    font-family: 'Poppins', sans-serif;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Bank Tabs Styles */
.bank-tabs-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 20px auto;
}

.bank-tabs {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.bank-tab {
    flex: 1;
    padding: 14px 24px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.bank-tab:hover {
    background: #e9ecef;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.15);
}

.bank-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.bank-tab.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}


/* Converter Section */
.converter-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 1100px;
    animation: fadeInUp 0.8s ease;
    border: 1px solid #e0e0e0;
    margin: 20px auto;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #ddd;
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fafafa;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.upload-area:hover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: translateY(-2px);
}

.upload-area.dragover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 64px;
    color: #667eea;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.upload-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.upload-text p {
    color: #666;
    margin-bottom: 8px;
    font-size: 16px;
}

.file-types {
    font-size: 14px !important;
    color: #999 !important;
}

.browse-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.browse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* File Info */
.file-info {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.file-details {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pdf-icon {
    font-size: 32px;
    color: #dc3545;
}

.file-name-size {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

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

.remove-file {
    background: #dc3545;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-file:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Convert Button */
.convert-btn {
    width: 100%;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.convert-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.convert-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Progress Section */
.progress-section {
    margin-top: 20px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    animation: shimmer 1.5s infinite;
}

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

/* Result Section */
.result-section {
    margin-top: 20px;
    text-align: center;
}

.success-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #28a745;
    font-weight: 500;
    margin-bottom: 15px;
    padding: 15px;
    background: #d4edda;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
}

.success-message i {
    font-size: 20px;
}

/* Data Preview Styles */
.data-preview {
    margin: 20px 0;
    text-align: left;
}

.data-preview h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: center;
}

.table-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 14px;
}

.data-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 10;
}

.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #dee2e6;
    color: #495057;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.download-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

/* Call to Action Section */
.call-to-action-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.call-to-action-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    text-align: center;
}

.call-to-action-image {
    flex-shrink: 0;
}

.call-to-action-image img {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.call-to-action-image img:hover {
    transform: scale(1.05);
}

.call-to-action-text {
    flex: 1;
    max-width: 500px;
    text-align: center;
}

.call-to-action-section h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.call-to-action-section p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.contact-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

/* Login Modal Styles */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.login-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
}

.login-header h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: #f8f9fa;
    color: #333;
}

.login-form {
    padding: 24px;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.3);
}

.login-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #6c757d;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.google-login-btn {
    width: 100%;
    background: #ffffff;
    color: #333;
    border: 1px solid #ddd;
    margin: 0;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.google-login-btn:hover {
    background: #f8f9fa;
    border-color: #bbb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.google-login-btn:disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.login-footer p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.login-footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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

/* Error Section */
.error-section {
    margin-top: 20px;
    text-align: center;
}

.error-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #dc3545;
    font-weight: 500;
    padding: 15px;
    background: #f8d7da;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
}

.error-message i {
    font-size: 20px;
}

/* Features Section */
.features-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 1100px;
    animation: fadeInUp 0.8s ease 0.2s both;
    border: 1px solid #e0e0e0;
    margin: 40px auto;
}

.features-section h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: nowrap;
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: white;
    border-color: #667eea;
}

.feature-card i {
    font-size: 56px;
    color: #667eea;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.feature-icon svg {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

.feature-card:hover i {
    color: #764ba2;
    transform: scale(1.1);
}

.feature-card h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

/* Call to Action Section */
.call-to-action-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 1100px;
    animation: fadeInUp 0.8s ease 0.4s both;
    border: 1px solid #e0e0e0;
    margin: 40px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.call-to-action-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.call-to-action-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    max-width: 600px;
}

.contact-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    opacity: 0.8;
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
}

/* Password Input Container */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 10;
}

.password-toggle-btn:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.password-toggle-btn i {
    font-size: 16px;
}

/* Login Error Container */
.login-error-container {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
    animation: slideIn 0.3s ease;
}

.login-error-message {
    color: #c33;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-error-message::before {
    content: '⚠️';
    font-size: 16px;
}

/* Error Dialog Modal */
.error-dialog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.error-dialog-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.error-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.error-dialog-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.error-dialog-close {
    background: none;
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-dialog-close:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.error-dialog-close:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.error-dialog-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.error-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
}

.error-status-code {
    font-size: 24px;
    font-weight: 700;
    color: #c33;
    background: #c33;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
}

.error-status-text {
    font-size: 16px;
    font-weight: 600;
    color: #c33;
}

.error-details h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.error-content {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 16px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 200px;
    overflow-y: auto;
}

.error-dialog-footer {
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    display: flex;
    justify-content: flex-end;
}

.error-dialog-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-dialog-btn:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.error-dialog-modal.show {
    display: block;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

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

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

@keyframes pulse {

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

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

@keyframes shimmer {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header-container {
        padding: 0 15px;
        height: 60px;
    }

    .home-button {
        font-size: 16px;
    }

    .home-button i {
        font-size: 20px;
    }

    .nav-list {
        gap: 15px;
    }

    .nav-link {
        font-size: 14px;
    }

    .converter-section,
    .features-section {
        padding: 25px;
    }

    .upload-area {
        padding: 40px 15px;
    }

    .upload-icon {
        font-size: 48px;
    }

    .upload-text h3 {
        font-size: 20px;
    }

    .upload-text p {
        font-size: 14px;
    }

    .logo {
        padding: 12px 20px;
    }

    .logo i {
        font-size: 24px;
    }

    .logo span {
        font-size: 20px;
    }

    .features-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .feature-card {
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
    }

    .feature-card i {
        font-size: 36px;
    }

    .call-to-action-section {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .call-to-action-content {
        flex-direction: column;
        gap: 20px;
    }

    .call-to-action-content p {
        max-width: 100%;
    }

    .bank-selection-title {
        font-size: 18px;
        padding: 12px 30px;
        margin: 10px auto 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .header-container {
        padding: 0 10px;
        height: 50px;
    }

    .home-button span {
        display: none;
    }

    .nav-list {
        gap: 10px;
    }

    .nav-link {
        font-size: 12px;
    }

    .converter-section,
    .features-section {
        padding: 20px;
    }

    .upload-area {
        padding: 30px 10px;
    }

    .upload-icon {
        font-size: 40px;
    }

    .upload-text h3 {
        font-size: 18px;
    }

    .browse-btn,
    .convert-btn,
    .download-btn {
        font-size: 14px;
        padding: 12px 20px;
    }

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

    .feature-card i {
        font-size: 32px;
    }

    .feature-card h4 {
        font-size: 16px;
    }

    .call-to-action-section {
        padding: 30px 20px;
    }

    .call-to-action-content h3 {
        font-size: 24px;
    }

    .call-to-action-content p {
        font-size: 14px;
    }

    .contact-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Bank Selection Title */
/* Bank Selection Title */
/* Bank Selection Title */
.bank-selection-title {
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 15px 50px;
    border-radius: 100px;
    /* Pill shape */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
    animation: simplePulse 3s infinite ease-in-out;
    border: none;
}

@keyframes simplePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(102, 126, 234, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
    }
}