/* static/css/styles.css */
/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    margin-left: 130px; /* Space for side menu */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

a {
    text-decoration: none;
    color: #3498db;
}

a:hover {
    color: #2980b9;
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: #3498db;
    border-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-success {
    color: #fff;
    background-color: #2ecc71;
    border-color: #2ecc71;
}

.btn-success:hover {
    background-color: #27ae60;
    border-color: #27ae60;
}

.btn-danger {
    color: #fff;
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

.btn-secondary {
    color: #fff;
    background-color: #95a5a6;
    border-color: #95a5a6;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    border-color: #7f8c8d;
}

.btn-info {
    color: #fff;
    background-color: #3498db;
    border-color: #3498db;
}

.btn-info:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out;
}

.form-group input[type="file"] {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
}

.form-row {
    display: flex;
    margin-right: -10px;
    margin-left: -10px;
}

.form-row > .form-group {
    padding-right: 10px;
    padding-left: 10px;
}

.form-group.half {
    flex: 1;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 65px;
    height: 100vh;
    background-color: #58728c;
    color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    transition: width 0.3s ease;
}
.side-menu ul li {
    margin-bottom: 60px; 
    position: relative;
  }
  

   
.side-menu ul {
    padding-top: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.side-menu ul li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 20px;
    padding-top: 30px;
    position: relative;
    text-align: center;
    cursor: pointer;
    font-size: 24px;
}

.side-menu ul li a:hover {
    background-color: #58728c;
}

.side-menu ul li .menu-text {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #34495e;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.side-menu ul li:hover .menu-text {
    opacity: 1;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 2rem 0;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero-section p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

/* Features */
.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-box {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    color: #3498db;
    margin-bottom: 1rem;
}

.feature-box h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-box p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

/* PDF Translation */
.pdf-translation-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.upload-form-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.confirmation-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    text-align: center;
}

.translation-details {
    margin: 1.5rem 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.action-buttons {
    margin-top: 1.5rem;
}

.action-buttons button {
    margin: 0 0.5rem;
}

/* How It Works */
.how-it-works {
    margin-top: 3rem;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.step {
    flex: 1;
    min-width: 250px;
    display: flex;
    margin-bottom: 1.5rem;
}

.step-number {
    background-color: #58728c;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

/* Payment */
.payment-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    text-align: center;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.payment-method {
    flex: 1;
    max-width: 350px;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* QR Code */
.qr-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.qr-form-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.qr-result {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.qr-image-container {
    margin: 1.5rem 0;
}

.qr-image-container img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
}

.qr-download {
    margin-top: 1.5rem;
}

/* Security Tools */
.security-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.security-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.tool-box {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.tool-box i {
    color: #58728c;
    margin-bottom: 1rem;
}

.security-info {
    margin-top: 3rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.security-info ol {
    margin-left: 2rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.security-info li {
    margin-bottom: 0.5rem;
}

.disclaimer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* PDF Split */
.pdf-split-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.splitting-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.splits-inputs {
    margin-bottom: 1.5rem;
}

.split-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.split-row input {
    width: 80px;
    margin: 0 0.5rem;
}

.download-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    text-align: center;
}

/* Contact */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.contact-form-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.contact-info {
    margin-top: 3rem;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.contact-method {
    flex: 1;
    min-width: 200px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-method i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #58728c;
    border-top: 1px solid #58728c;
    padding: 15px 0;
    z-index: 90; /* Below side menu but above content */
  }
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: #fff;
  }

@media (max-width: 768px) {
    body {
        margin-left: 60px;
    }
    
    .side-menu {
        width: 60px;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .payment-methods, 
    .security-tools,
    .features-container {
        flex-direction: column;
        align-items: center;
    }
    
    .payment-method,
    .tool-box,
    .feature-box {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row > .form-group {
        padding-right: 0;
        padding-left: 0;
    }
}

/* Add these styles to your static/css/styles.css file */

.translation-confirmation {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.translation-confirmation h3 {
    margin-top: 0;
    color: #333;
}

.response-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.response-buttons button {
    flex: 1;
    margin: 0 10px;
    padding: 10px 15px;
}

.response-buttons button:first-child {
    margin-left: 0;
}

.response-buttons button:last-child {
    margin-right: 0;
}

#pay-now-button {
    display: none;
    background-color: #28a745;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

#pay-now-button:hover {
    background-color: #218838;
}

/* Payment Confirmation Styles */
.payment-confirmation .card {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.payment-confirmation .card-header {
    background-color: #28a745;
    color: white;
    padding: 1.5rem;
}

.payment-confirmation .card-body {
    padding: 2rem;
}

.payment-confirmation .fa-check-circle {
    color: #28a745;
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.payment-confirmation .payment-details {
    margin: 2rem 0;
}

.payment-confirmation .list-group-item {
    border-left: none;
    border-right: none;
}

.payment-confirmation .next-steps {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.payment-confirmation .btn-block {
    display: block;
    width: 100%;
}

.status-state {
    display: none;
}
.status-active {
    display: block;
}
.drag-handle {
    cursor: grab;
    color: #6c757d;
}
.drag-item {
    transition: background-color 0.3s;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.drag-item:hover {
    background-color: #f8f9fa;
}
