/* Leasing Calculator Styles */

/* Floating Button */
.leasing-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #286a96 0%, #1e4a66 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.leasing-floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.leasing-btn-text {
    font-family: 'Arial', sans-serif;
}

/* Leasing Request Link */
.leasing-request-link {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.leasing-request-link p {
    margin: 0 0 10px 0;
    color: #555;
    font-size: 14px;
}

.leasing-link-btn {
    display: inline-block;
    background: linear-gradient(135deg, #186997 0%, #0d4a6b 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.leasing-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 105, 151, 0.3);
    color: white;
    text-decoration: none;
}

/* Modal Styles */
.leasing-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.leasing-modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leasing-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    transition: color 0.3s ease;
}

.leasing-close:hover {
    color: #000;
}

.leasing-modal-content h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

/* Form Styles */
.leasing-form-group {
    margin-bottom: 15px;
}

.leasing-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #555;
    font-size: 13px;
}

.leasing-form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.leasing-form-group input:focus {
    outline: none;
    border-color: #286a96;
    box-shadow: 0 0 0 3px rgba(40, 106, 150, 0.1);
}

/* Slider Container */
.leasing-slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

/* Slider Styles */
.leasing-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #e1e5e9;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.leasing-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #286a96;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(40, 106, 150, 0.3);
    transition: all 0.3s ease;
}

.leasing-slider::-webkit-slider-thumb:hover {
    background: #1e4a66;
    transform: scale(1.1);
}

.leasing-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #286a96;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(40, 106, 150, 0.3);
    transition: all 0.3s ease;
}

.leasing-slider::-moz-range-thumb:hover {
    background: #1e4a66;
    transform: scale(1.1);
}

.leasing-slider::-webkit-slider-track {
    background: #e1e5e9;
    height: 6px;
    border-radius: 3px;
}

.leasing-slider::-moz-range-track {
    background: #e1e5e9;
    height: 6px;
    border-radius: 3px;
    border: none;
}

.leasing-form-group label span {
    color: #286a96;
    font-weight: bold;
    font-size: 14px;
}

/* Clickable Values */
.clickable-value {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 80px;
    text-align: center;
    font-weight: 600;
    color: #286a96;
}

.clickable-value:hover {
    background: #286a96;
    color: white;
    border-color: #286a96;
}

.clickable-value.editing {
    background: white;
    border-color: #286a96;
    box-shadow: 0 0 0 2px rgba(40, 106, 150, 0.2);
}

.value-input {
    width: 100%;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: bold;
    color: #286a96;
    font-size: 14px;
    outline: none;
}

/* Mileage Options */
.mileage-options {
    display: flex;
    gap: 8px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.mileage-btn {
    padding: 10px 15px;
    border: 2px solid #e1e5e9;
    background: white;
    color: #555;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 70px;
    text-align: center;
}

.mileage-btn:hover {
    border-color: #286a96;
    color: #286a96;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 106, 150, 0.2);
}

.mileage-btn.active {
    background: #286a96;
    color: white;
    border-color: #286a96;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 106, 150, 0.3);
}

.mileage-btn.active:hover {
    background: #1e4a66;
    border-color: #1e4a66;
    transform: translateY(-2px);
}

.leasing-calculate-btn {
    width: 100%;
    background: linear-gradient(135deg, #286a96 0%, #1e4a66 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.leasing-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 106, 150, 0.4);
}

.leasing-calculate-btn:active {
    transform: translateY(-1px);
}

/* Result Styles */
.leasing-result {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #286a96;
}

.leasing-result h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 16px;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-main {
    background: white;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #e1e5e9;
}

.result-breakdown {
    background: #f1f3f4;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
}

.result-breakdown h4 {
    color: #555;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
}

.result-details p {
    margin-bottom: 6px;
    font-size: 13px;
    color: #666;
}

.result-details strong {
    color: #333;
}

.result-main p {
    font-size: 14px;
    margin-bottom: 8px;
}

.result-main p:first-child {
    font-size: 16px;
    color: #286a96;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .leasing-floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .leasing-modal-content {
        margin: 5% auto;
        padding: 15px;
        width: 95%;
        max-height: 95vh;
    }
    
    .leasing-modal-content h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .leasing-floating-btn {
        bottom: 15px;
        right: 15px;
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .leasing-btn-text {
        display: none;
    }
    
    .leasing-floating-btn::after {
        content: "Leasing";
        font-size: 12px;
    }
    
    .leasing-modal-content {
        margin: 2% auto;
        padding: 12px;
        max-height: 98vh;
    }
}

/* Shortcode Styles */
.leasing-calculator-shortcode {
    max-width: 100%;
    margin: 20px 0;
    padding: 20px;
}

.leasing-shortcode-title {
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}

.leasing-calculator-container {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Shortcode specific styles */
.leasing-calculator-shortcode .leasing-form-group {
    margin-bottom: 20px;
}

.leasing-calculator-shortcode .leasing-form-group label {
    font-size: 14px;
    margin-bottom: 8px;
}

.leasing-calculator-shortcode .leasing-slider {
    margin: 12px 0;
}

.leasing-calculator-shortcode .mileage-options {
    margin: 12px 0;
}

.leasing-calculator-shortcode .leasing-calculate-btn {
    margin-top: 15px;
    padding: 15px;
    font-size: 16px;
}

.leasing-calculator-shortcode .leasing-result {
    margin-top: 20px;
    padding: 20px;
}

/* Responsive for shortcode */
@media (max-width: 768px) {
    .leasing-calculator-shortcode {
        padding: 15px;
        margin: 15px 0;
    }
    
    .leasing-calculator-container {
        padding: 20px;
    }
    
    .leasing-shortcode-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .leasing-calculator-shortcode {
        padding: 10px;
        margin: 10px 0;
    }
    
    .leasing-calculator-container {
        padding: 15px;
    }
    
    .leasing-shortcode-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

/* Results styling */
.result-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}

.result-main {
    margin-bottom: 20px;
}

.result-main p {
    margin: 10px 0;
    font-size: 16px;
    color: #333;
}

.result-main p strong {
    color: #286a96;
}

.result-main p span {
    color: #286a96;
    font-weight: bold;
}

.result-breakdown {
    border-top: 1px solid #e1e5e9;
    padding-top: 15px;
}

.result-breakdown h4 {
    margin: 0 0 15px 0;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.result-breakdown p {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
}

.result-breakdown p strong {
    color: #555;
}

.result-breakdown p span {
    color: #286a96;
    font-weight: bold;
}

/* Schlussrate Options - removed since we now use percentage slider */

/* Small warning messages */
.leasing-form-group small {
    display: block;
    margin-top: 5px;
    color: #e74c3c;
    font-weight: 600;
    font-size: 12px;
}

/* Introduction Section Styles */
.leasing-intro-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.intro-content h3 {
    color: #286a96;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.intro-content h4 {
    color: #1e4a66;
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    border-left: 4px solid #286a96;
    padding-left: 15px;
}

.intro-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.benefits-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid #e1e5e9;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
    position: relative;
    padding-left: 30px;
    color: #555;
    font-size: 15px;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    color: #28a745;
    font-weight: bold;
    font-size: 18px;
}

.process-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid #e1e5e9;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 20px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e1e5e9;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: #286a96;
    background: #f0f7ff;
    transform: translateY(-2px);
}

.step-number {
    display: block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #286a96 0%, #1e4a6b 100%);
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    font-size: 18px;
    margin: 0 auto 15px auto;
}

.step-text {
    display: block;
    color: #555;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}

.example-calculation {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
}

.example-calculation h4 {
    color: #856404;
    margin-bottom: 15px;
}

.example-calculation p {
    color: #856404;
    margin-bottom: 10px;
}

.example-note {
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
}

.legal-notice {
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0 0 0;
}

.legal-notice p {
    color: #000000;
    margin: 0;
    font-size: 14px;
}

/* Shortcode Layout */
.leasing-shortcode-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.leasing-calculator-left {
    flex: 1;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e1e5e9;
}

.leasing-request-right {
    flex: 1;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e1e5e9;
}

.leasing-request-right h3 {
    color: #286a96;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

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

.leasing-request-form .leasing-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
    font-size: 14px;
}

.leasing-request-form .leasing-form-group input,
.leasing-request-form .leasing-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.leasing-request-form .leasing-form-group input:focus,
.leasing-request-form .leasing-form-group textarea:focus {
    outline: none;
    border-color: #286a96;
}

.leasing-request-form .leasing-form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.leasing-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #286a96 0%, #1e4a6b 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.leasing-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 106, 150, 0.3);
}

.leasing-submit-btn:active {
    transform: translateY(0);
}

/* Document Categories Styles */
.document-categories {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.document-category {
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.document-icon {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.document-icon img {
}

.document-category:hover {
    border-color: #286a96;
}

.document-category h4 {
    color: #286a96;
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.document-description {
    color: #666;
    font-size: 13px;
    margin: 0 0 15px 0;
    font-style: italic;
}

.document-upload {
    width: 100%;
    padding: 12px;
    border: 2px dashed #d1d5db;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.document-upload:hover {
    border-color: #286a96;
    background: #f8f9fa;
}

.document-upload:focus {
    outline: none;
    border-color: #286a96;
    box-shadow: 0 0 0 3px rgba(40, 106, 150, 0.1);
}

.upload-status {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    display: none;
}

.upload-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.upload-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.upload-status.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

/* File upload area styling */
.document-upload::-webkit-file-upload-button {
    background: linear-gradient(135deg, #286a96 0%, #1e4a6b 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.document-upload::-webkit-file-upload-button:hover {
    background: linear-gradient(135deg, #1e4a6b 0%, #0d3a5b 100%);
    transform: translateY(-1px);
}

.document-upload::-moz-file-upload-button {
    background: linear-gradient(135deg, #286a96 0%, #1e4a6b 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.document-upload::-moz-file-upload-button:hover {
    background: linear-gradient(135deg, #1e4a6b 0%, #0d3a5b 100%);
}



/* Removed duplicate icons - using HTML SVG icons instead */

/* Responsive Design */
@media (max-width: 768px) {
    .leasing-shortcode-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .leasing-calculator-left,
    .leasing-request-right {
        padding: 20px;
    }
    
    .document-categories {
        gap: 15px;
    }
    
    .document-category h4 {
        font-size: 14px;
    }
    
    .document-description {
        font-size: 12px;
    }
    
    /* Introduction section responsive */
    .leasing-intro-section {
        padding: 20px;
        margin: 15px 0;
    }
    
    .intro-content h3 {
        font-size: 24px;
    }
    
    .intro-content h4 {
        font-size: 18px;
    }
    
    .intro-content p {
        font-size: 15px;
    }
    
    .benefits-section,
    .process-section,
    .example-calculation {
        padding: 20px;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .step {
        padding: 15px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 16px;
    }
    
    .step-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .leasing-intro-section {
        padding: 15px;
        margin: 10px 0;
    }
    
    .intro-content h3 {
        font-size: 22px;
    }
    
    .intro-content h4 {
        font-size: 16px;
    }
    
    .intro-content p {
        font-size: 14px;
    }
    
    .benefits-section,
    .process-section,
    .example-calculation {
        padding: 15px;
    }
    
    .benefits-list li {
        font-size: 14px;
        padding: 10px 0;
        padding-left: 25px;
    }
    
    .benefits-list li::before {
        left: 0;
        top: 10px;
        font-size: 16px;
    }
}

/* Additional mobile fixes for benefits list */
@media (max-width: 600px) {
    .benefits-list li {
        padding-left: 25px;
    }
    
    .benefits-list li::before {
        left: 0;
        top: 10px;
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .benefits-list li {
        padding-left: 22px;
    }
    
    .benefits-list li::before {
        left: 0;
        top: 9px;
        font-size: 15px;
    }
    
    .legal-notice {
        padding: 15px;
    }
    
    .legal-notice p {
        font-size: 13px;
    }
}
