/* Kreditni Kalkulator Styles */

.kk-calculator-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.kk-calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* Form Section */
.kk-calculator-left {
    width: 100%;
}

.kk-calculator-form {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kk-title {
    margin: 0 0 25px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333333;
}

.kk-form-group {
    margin-bottom: 20px;
}

.kk-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

.kk-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: #2c3e50;
    color: #ffffff;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.kk-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.kk-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Button Group */
.kk-button-group {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.kk-btn {
    flex: 1;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kk-btn-calculate {
    background-color: #3498db;
    color: #ffffff;
}

.kk-btn-calculate:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.kk-btn-reset {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #ddd;
}

.kk-btn-reset:hover {
    background-color: #f8f9fa;
    border-color: #bbb;
}

/* Results Section */
.kk-calculator-right {
    width: 100%;
}

.kk-results {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kk-results h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333333;
}

.kk-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.kk-result-item:last-child {
    border-bottom: none;
}

.kk-result-label {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.kk-result-value {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
}

.kk-result-highlight {
    background-color: #f8f9fa;
    padding: 15px;
    margin: 15px -15px -15px -15px;
    border-radius: 0 0 8px 8px;
}

.kk-result-highlight .kk-result-value {
    font-size: 20px;
    color: #3498db;
}

/* Payment Plan Section */
.kk-payment-plan {
    width: 100%;
    background: #ffffff;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.kk-payment-plan h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333333;
}

.kk-table-wrapper {
    overflow-x: auto;
}

.kk-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
}

.kk-table thead th {
    background-color: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    border: 1px solid #dee2e6;
}

.kk-table tbody td {
    padding: 10px 12px;
    font-size: 14px;
    color: #495057;
    border: 1px solid #dee2e6;
}

.kk-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.kk-table tbody tr:hover {
    background-color: #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kk-calculator-container {
        grid-template-columns: 1fr;
    }

    .kk-calculator-form,
    .kk-results,
    .kk-payment-plan {
        padding: 20px;
    }

    .kk-title {
        font-size: 20px;
    }

    .kk-button-group {
        flex-direction: column;
    }

    .kk-btn {
        width: 100%;
    }

    .kk-table {
        font-size: 12px;
    }

    .kk-table thead th,
    .kk-table tbody td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .kk-calculator-form,
    .kk-results,
    .kk-payment-plan {
        padding: 15px;
    }

    .kk-title {
        font-size: 18px;
    }

    .kk-input {
        font-size: 14px;
        padding: 10px;
    }

    .kk-btn {
        font-size: 12px;
        padding: 10px 20px;
    }
}
