/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.c-matter--article .c-matter__body {
    width: 1000px;
}
@media (max-width: 1200px) {
    .c-matter--article .c-matter__body {
        width: 100%;
    }
}

.ltc-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}


.ltc-calculator-title {
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.ltc-calculator-subtitle {
    text-align: center;
}

/* Calculator wrapper */
.ltc-calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
}

/* Inputs section */
.ltc-inputs-section {
    padding: 40px;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
}

.ltc-inputs-title {
    color: #2c3e50;
    margin-bottom: 30px;
}

.ltc-input-group {
    margin-bottom: 25px;
}

.ltc-input-label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
}

.ltc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ltc-currency-symbol {
    position: absolute;
    left: 15px;
    color: #6c757d;
    z-index: 1;
}

.ltc-unit {
    position: absolute;
    right: 15px;
    color: #6c757d;
    z-index: 1;
}

.ltc-number-input {
    width: 100%;
    padding: 15px 20px;
    padding-left: 35px;
    padding-right: 50px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.ltc-number-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.ltc-number-input:hover {
    border-color: #ced4da;
}

/* Button group */
.ltc-button-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

/* Calculate button */
.ltc-calculate-btn {
    flex: 2;
}

/* Reset button */
.ltc-reset-btn {
    flex: 1;
}

/* Results section */
.ltc-results-section {
    padding: 40px;
    background: white;
}

/* Chart container */
.ltc-chart-container {
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    position: relative;
    height: 300px;
}

.ltc-chart-canvas {
    max-height: 280px;
}

.ltc-results-title {
    color: #2c3e50;
    margin-bottom: 30px;
}

/* Initial message */
.ltc-initial-message {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
    text-align: center;
    color: #6c757d;
}

.ltc-initial-message p {
    margin: 0;
    line-height: 1.6;
}

.ltc-results-container {
    margin-bottom: 30px;
}

.ltc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    /* border-left: 4px solid #667eea; */
    transition: all 0.3s ease;
}


.ltc-result-item-highlight {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: #fef6dc;
    /* color: white; */
    /* border-left-color: #5a67d8; */
    border-left-color: #ecbe25;
}

.ltc-result-label {
    flex: 1;
}

.ltc-result-value {
    font-family: 'Courier New', monospace;
}

.ltc-result-value.ltc-positive {
    color: #28a745;
}

.ltc-result-value.ltc-negative {
    color: #dc3545;
}

/* Summary */
.ltc-summary {
    background: #ffffff;
    /* padding: 20px; */
    /* border-radius: 12px; */
    /* border-left: 4px solid #ecbe24 !important; */
    /* border: 2px dashed #ecbe24; */
}

.ltc-summary-text {
    margin: 0;
    line-height: 1.6;
}

/* Download section */
.ltc-download-section {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.ltc-download-icon {
    font-size: 1.2em;
}

/* Professional message */
.ltc-professional-message {
    margin-top: 30px;
    padding-top: 20px;
    /* border-top: 1px solid #e9ecef; */
}

.ltc-professional-message-text {
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .ltc-calculator-container {
        border-radius: 15px;
    }
    
    .ltc-calculator-header {
        padding: 30px 20px;
    }
    
    
    .ltc-calculator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .ltc-inputs-section {
        padding: 30px 20px;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .ltc-results-section {
        padding: 30px 20px;
    }
    
    .ltc-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    
    .ltc-chart-container {
        height: 250px;
        padding: 15px;
    }
    
    .ltc-button-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .ltc-calculate-btn,
    .ltc-reset-btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .ltc-number-input {
        padding: 12px 15px;
        padding-left: 30px;
        padding-right: 45px;
    }
    
    .ltc-chart-container {
        height: 200px;
        padding: 10px;
    }
}

/* Animation for results */
@keyframes ltc-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ltc-result-item {
    animation: ltc-fadeInUp 0.5s ease-out;
}

.ltc-result-item:nth-child(1) { animation-delay: 0.1s; border-left: 4px solid #667eea;}
.ltc-result-item:nth-child(2) { animation-delay: 0.2s; border-left: 4px solid #764ba2;}
.ltc-result-item:nth-child(3) { animation-delay: 0.3s; }

/* Focus states for accessibility */
.ltc-calculate-btn:focus,
.ltc-number-input:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Loading state */
.ltc-calculating {
    opacity: 0.7;
    pointer-events: none;
}

.ltc-calculating .ltc-calculate-btn {
    background: #6c757d;
    cursor: not-allowed;
}
