.time-calc-container-outer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.time-calc-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.time-calc-title {
    color: #2d3748;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.time-calc-subtitle {
    color: #718096;
    text-align: center;
    margin-bottom: var(--sp-x);
    font-size: var(--text-size-100);
}

.time-calc-input-section {
    display: flex;
    /* grid-template-columns: 1fr 1fr; */
    gap: var(--sp-s);
    margin-bottom: 40px;
    flex-direction: column;
}



.time-calc-input-group {
    margin-bottom: 20px;
}

.time-calc-label {
    display: block;
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 8px;
    max-width:350px;
    font-size: var(--text-size-100);
}

.time-calc-number-input {
    width: 120px;
    text-align: center;
    padding: 12px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.time-calc-number-input:focus {
    outline: none;
    border-color: #4279bc;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.time-calc-time-inputs {
    display: flex;
    gap: 12px;
    align-items: center;
}

.time-calc-time-input {
    /* width:80px; */
    position: relative;
}

.time-calc-time-input input {
    width: 100%;
    text-align: center;
}

.time-calc-time-unit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
    font-size: 14px;
    pointer-events: none;
}

.time-calc-batch-slider {
    grid-column: span 2;
}

.time-calc-slider-container {
    position: relative;
    margin-top: 20px;
}

.time-calc-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.time-calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #86b6f3, #4279bc);
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.time-calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.time-calc-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.time-calc-slider-value {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #4a5568;
    margin-top: 12px;
}

.time-calc-charts-section {
    margin-top: 40px;
}

.time-calc-chart-container {
    margin-bottom: 40px;
    background: linear-gradient(135deg, #f0f8ff1a, #e6f3ff57);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.time-calc-chart-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    text-align: center;
}

.time-calc-chart {
    width: 100%;
    height: 300px;
}

.time-calc-savings-summary {
    background: linear-gradient(135deg, #f0f8ff1a, #e6f3ff57);
    padding: 30px;
    border-radius: 16px;
    margin-top: 30px;
    border: 1px solid #e2e8f0;
}

.time-calc-summary-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
}

.time-calc-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.time-calc-summary-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.time-calc-summary-value {
    font-size: var(--text-size-300);
    font-weight: 400;
    color: #4279bc;
    display: block;
    margin-bottom: 5px;
}

.time-calc-summary-label {
    color: #4a5568;
    font-size: var(--text-size-95);
    font-weight: 400;
}

.time-calc-tip {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    color: #856404;
    font-size: 14px;
}

.info-icon-calc-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom:var(--sp-xs);
}

.info-icon-calc {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #f0f7ff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon-calc svg {
    width: 30px;
    height: 30px;
    color: #1f4c83;
}

@media (max-width: 768px) {
    .time-calc-container {
        padding: 30px 20px;
        margin: 10px;
    }

    .time-calc-title {
        font-size: 24px;
    }

    .time-calc-input-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .time-calc-batch-slider {
        grid-column: span 1;
    }

    .time-calc-time-inputs {
        /* flex-direction: column; */
        gap: 16px;
    }

    .time-calc-chart {
        height: 250px;
    }
}
