/* Create CSS styles for the LCA calculator */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Main Container */
.main-container {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.step.active {
    border-color: #007bff;
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

.step.completed {
    border-color: #28a745;
    background: #28a745;
    color: white;
    cursor: pointer;
}

.step.completed:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.step.completed:active {
    transform: scale(0.95);
}

.step:not(.active):not(.completed):hover {
    border-color: #6c757d;
    transform: scale(1.05);
}

.step:not(.active):not(.completed) {
    cursor: not-allowed;
    opacity: 0.6;
}

.step:not(.active):not(.completed):hover {
    transform: none;
    border-color: #e9ecef;
}

.step-title {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.9rem;
    color: #495057;
    font-weight: 600;
}

.step.completed .step-title {
    color: #28a745;
}

.step.active .step-title {
    color: #007bff;
}

/* Calculator Content */
.calculator-content {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.calculator-step {
    display: none;
}

.calculator-step.active {
    display: block;
}

.calculator-step h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

/* Technology Grid */
.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tech-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.tech-card:hover {
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

.tech-card.selected {
    border-color: #3498db;
    background-color: #f8f9fa;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tech-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.tech-card p {
    color: #666;
    margin-bottom: 1rem;
}

.tech-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-stats span {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.impact.low {
    background-color: #d5edda;
    color: #155724;
}

.impact.low-medium {
    background-color: #d1ecf1;
    color: #0c5460;
}

.impact.medium-low {
    background-color: #fff3cd;
    color: #856404;
}

.impact.medium {
    background-color: #ffeaa7;
    color: #b8860b;
}

.impact.high {
    background-color: #f8d7da;
    color: #721c24;
}

.quality.high {
    background-color: #d5edda;
    color: #155724;
}

.quality.medium {
    background-color: #fff3cd;
    color: #856404;
}

.quality.low {
    background-color: #f8d7da;
    color: #721c24;
}

/* Materials Form */
.materials-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.form-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.form-group input[type="range"] {
    margin-bottom: 0.5rem;
}

#fiber-content-value {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Process Form */
.process-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Results Styles */
.results-container {
    max-width: 1000px;
    margin: 0 auto;
}

.results-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.result-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #95a5a6;
    text-align: center;
}

.result-card.primary {
    border-left-color: #e74c3c;
}

.result-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.result-value {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.result-value .unit {
    font-size: 0.8rem;
    color: #666;
    font-weight: normal;
}

.result-breakdown {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 1rem;
    margin-top: 1rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.breakdown-item:last-child {
    margin-bottom: 0;
}

/* Charts */
.results-charts {
    margin: 3rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.results-charts canvas {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 1rem;
}

/* Export Buttons */
.results-export {
    text-align: center;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    margin: 0 0.5rem;
}

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

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

.btn-primary:hover:not(:disabled) {
    background-color: #2980b9;
    transform: translateY(-1px);
}

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

.btn-secondary:hover:not(:disabled) {
    background-color: #7f8c8d;
    transform: translateY(-1px);
}

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

.btn-success:hover:not(:disabled) {
    background-color: #229954;
    transform: translateY(-1px);
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #3498db;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

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

    .nav {
        gap: 1rem;
    }

    .calculator-step h2 {
        font-size: 1.5rem;
    }

    .technology-grid {
        grid-template-columns: 1fr;
    }

    .materials-form {
        grid-template-columns: 1fr;
    }

    .results-summary {
        grid-template-columns: 1fr;
    }

    .results-charts {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        margin-bottom: 1rem;
    }

    .navigation-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .progress-steps {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tooltips */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    font-weight: 600;
}

.message.success {
    background-color: #d5edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
}

.message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Chart Containers */
.chart-container {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.chart-container h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.2rem;
    text-align: center;
}

/* Results Visibility */
.results-container {
    display: none;
}

.results-container.show {
    display: block;
}

.results-charts {
    display: none;
}

.results-container.show .results-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.results-export {
    display: none;
}

.results-container.show .results-export {
    display: block;
}

/* Warning Button Style */
.btn-warning {
    background-color: #f39c12;
    color: white;
    border: none;
}

.btn-warning:hover {
    background-color: #e67e22;
}

/* Lead Form Styles */
.lead-form {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.lead-form h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.lead-form p {
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.lead-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.lead-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.lead-form input[type="text"],
.lead-form input[type="email"] {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.lead-form input:focus {
    outline: none;
    border-color: #3498db;
}

.privacy-notice {
    margin: 1.5rem 0;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.privacy-notice input[type="checkbox"] {
    margin-top: 0.2rem;
}

.privacy-notice label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: normal;
    line-height: 1.4;
}

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

.privacy-notice a:hover {
    text-decoration: underline;
}

.lead-form.hidden {
    display: none;
}

/* Privacy Policy Page */
.privacy-content {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.privacy-content section {
    margin-bottom: 2rem;
}

.privacy-content h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.privacy-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #555;
}

.privacy-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.privacy-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ecf0f1;
}

.privacy-footer p {
    margin-bottom: 1rem;
    color: #7f8c8d;
}

/* Admin Login Styles */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 1rem;
}

.admin-login-box {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 100%;
}

.admin-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-login-header img {
    height: 50px;
    margin-bottom: 1rem;
}

.admin-login-header h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.admin-login-header p {
    color: #7f8c8d;
    font-size: 1rem;
}

.admin-login-form .form-group {
    margin-bottom: 1.5rem;
}

.admin-login-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.admin-login-form label i {
    margin-right: 0.5rem;
    color: #3498db;
}

.admin-login-form input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.admin-login-form input:focus {
    outline: none;
    border-color: #3498db;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.admin-login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
}

.admin-login-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

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

/* Admin Dashboard Styles */
.admin-dashboard {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h2 {
    color: #2c3e50;
    margin: 0;
}

.admin-stats {
    display: flex;
    gap: 1rem;
}

.stat-card {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    min-width: 120px;
}

.stat-card i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.leads-table-container {
    overflow-x: auto;
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.leads-table th,
.leads-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.leads-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

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

.no-data {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
}

.badge {
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.success {
    background-color: #27ae60;
    color: white;
}

.badge.warning {
    background-color: #f39c12;
    color: white;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

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

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

/* Technology Badge */
.tech-badge {
    background-color: #3498db;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.tech-badge.autoclave { background-color: #e74c3c; }
.tech-badge.rtm-lp { background-color: #f39c12; }
.tech-badge.rtm-hp { background-color: #e67e22; }
.tech-badge.c-rtm { background-color: #27ae60; }
.tech-badge.filament-winding { background-color: #9b59b6; }
.tech-badge.pultrusion { background-color: #1abc9c; }
.tech-badge.vacuum-infusion { background-color: #34495e; }
.tech-badge.hand-layup { background-color: #95a5a6; }

/* Materials and Technologies Management */
.materials-section {
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.materials-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.materials-table-container {
    overflow-x: auto;
}

.materials-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.materials-table th,
.materials-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.materials-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

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

.materials-table code {
    background: #f1f3f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #000;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Warning banner */
.warning-banner {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-banner i {
    color: #f39c12;
}

/* Quality and automation badges */
.badge.quality-low {
    background: #f8d7da;
    color: #721c24;
}

.badge.quality-medium {
    background: #fff3cd;
    color: #856404;
}

.badge.quality-high {
    background: #d1ecf1;
    color: #0c5460;
}

.badge.quality-very_high {
    background: #d4edda;
    color: #155724;
}

.badge.automation-manual {
    background: #f8d7da;
    color: #721c24;
}

.badge.automation-semi-auto {
    background: #fff3cd;
    color: #856404;
}

.badge.automation-automatic {
    background: #d4edda;
    color: #155724;
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .stat-card {
        flex: 1;
        min-width: auto;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .materials-table {
        font-size: 0.8rem;
    }
    
    .materials-table th,
    .materials-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 2% auto;
        padding: 1rem;
    }
    
    .leads-table {
        font-size: 0.9rem;
    }
    
    .leads-table th,
    .leads-table td {
        padding: 0.5rem;
    }
}

/* Email Verification Styles */
.email-verification-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem;
}

.verification-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 1px solid #e9ecef;
}

.verification-box h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.verification-box p {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.verification-step {
    margin-bottom: 2rem;
}

.verification-step.hidden {
    display: none;
}

.verification-step .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.verification-step label {
    display: block;
    margin-bottom: 0.5rem;
    color: #495057;
    font-weight: 600;
}

.verification-step input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.verification-step small {
    display: block;
    margin-top: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.verification-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.verification-success {
    text-align: center;
}

.verification-success.hidden {
    display: none;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.verification-success h3 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.verification-success p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #1e7e34;
    transform: translateY(-2px);
}

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

/* Responsive verification */
@media (max-width: 768px) {
    .verification-box {
        padding: 2rem;
        margin: 1rem;
    }
    
    .verification-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Message Popup Styles */
.message-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.5rem;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border-left: 4px solid #007bff;
    max-width: 350px;
}

.message-popup.show {
    transform: translateX(0);
}

.message-popup.success {
    border-left-color: #28a745;
}

.message-popup.error {
    border-left-color: #dc3545;
}

.message-popup.info {
    border-left-color: #17a2b8;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.message-popup i {
    font-size: 1.2rem;
}

.message-popup.success i {
    color: #28a745;
}

.message-popup.error i {
    color: #dc3545;
}

.message-popup.info i {
    color: #17a2b8;
}

.message-popup span {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Email Verification Form Styles */
.email-verification-form {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    text-align: center;
}

.email-verification-form h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.email-verification-form p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.verification-input-group {
    margin-bottom: 2rem;
    text-align: left;
}

.verification-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #495057;
    font-weight: 600;
    font-size: 1rem;
}

.verification-input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
    transition: border-color 0.3s ease;
}

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

.verification-input-group small {
    display: block;
    margin-top: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
}

.verification-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: #6c757d;
    border: 2px solid #6c757d;
}

.btn-outline:hover {
    background: #6c757d;
    color: white;
}

/* Responsive verification form */
@media (max-width: 768px) {
    .email-verification-form {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .verification-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .verification-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Transport and Logistics Styles */
.transport-subsection {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.transport-subsection:last-child {
    margin-bottom: 0;
}

.transport-subsection h4 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.transport-subsection .form-group {
    margin-bottom: 1rem;
}

.transport-subsection .form-group:last-child {
    margin-bottom: 0;
}

.transport-subsection label {
    display: block;
    margin-bottom: 0.5rem;
    color: #495057;
    font-weight: 600;
    font-size: 0.95rem;
}

.transport-subsection input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.transport-subsection small {
    display: block;
    margin-top: 0.25rem;
    color: #6c757d;
    font-size: 0.85rem;
    font-style: italic;
}

/* Responsive transport */
@media (max-width: 768px) {
    .transport-subsection {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .transport-subsection h4 {
        font-size: 1rem;
    }
}
