/* oxygen-calculator.css - Fresh Green Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #a8e6cf 0%, #56c596 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    /*border-radius: 20px;*/
    box-shadow: 0 20px 60px rgba(86, 197, 150, 0.3);
    overflow: hidden;
}

.content-detail 
{
	font-family: 'Montserrat', sans-serif, Arial;
	font-size: 18px;
	letter-spacing: 1px;
	font-weight: 200;
	line-height:40px;
}
.header {
    background: linear-gradient(135deg, #56c596 0%, #3ba776 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header p {
    font-size: 16px;
    opacity: 0.95;
}

.calculator-body {
    padding: 40px 30px;
}

.step {
    margin-bottom: 40px;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #56c596 0%, #3ba776 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(86, 197, 150, 0.3);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d5f4e;
}

.step-subtitle {
    font-size: 14px;
    color: #5a8c7a;
    margin-top: 5px;
}

.tank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.tank-option {
    border: 3px solid #d4f1e6;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fffe;
}

.tank-option:hover {
    border-color: #56c596;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(86, 197, 150, 0.3);
    background: #f0fdf9;
}

.tank-option.selected {
    border-color: #3ba776;
    background: linear-gradient(135deg, rgba(86, 197, 150, 0.1) 0%, rgba(59, 167, 118, 0.1) 100%);
    box-shadow: 0 5px 15px rgba(86, 197, 150, 0.4);
}

.tank-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.tank-volume {
    font-weight: 600;
    color: #2d5f4e;
    font-size: 18px;
}

.tank-label {
    font-size: 12px;
    color: #5a8c7a;
    margin-top: 5px;
}

/* Info Box Styles */
.info-box {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #e8f8f3 0%, #d4f1e6 100%);
    border-left: 4px solid #56c596;
    border-radius: 10px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.info-content {
    gap: 20px;
    font-size: 14px;
    color: #2d5f4e;
    line-height: 1.6;
}

.info-content strong {
    width: 100%;
    color: #3ba776;
    font-weight: 600;
}

.thai-text {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #5a8c7a;
}

.input-group {
    margin-top: 20px;
}

.input-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #2d5f4e;
}

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

input[type="number"] {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #d4f1e6;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
    background: #f9fffe;
}

input[type="number"]:focus {
    outline: none;
    border-color: #56c596;
    background: white;
    box-shadow: 0 0 0 3px rgba(86, 197, 150, 0.1);
}

.unit {
    position: absolute;
    right: 20px;
    color: #5a8c7a;
    font-weight: 500;
}

.custom-volume-toggle {
    margin-top: 15px;
    text-align: center;
}

.toggle-btn {
    background: none;
    border: none;
    color: #3ba776;
    font-size: 16px;
    cursor: pointer;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
    transition: color 0.2s ease;
}

.toggle-btn:hover {
    color: #56c596;
}

.custom-inputs {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #f0fdf9;
    border-radius: 10px;
    border: 2px solid #d4f1e6;
}

.custom-inputs.active {
    display: block;
}

.calculate-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #56c596 0%, #3ba776 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 30px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(86, 197, 150, 0.3);
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(86, 197, 150, 0.4);
}

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

.calculate-btn.secondary {
    margin-top: 15px;
    background: linear-gradient(135deg, #7dd3ae 0%, #56c596 100%);
}

.result {
    display: none;
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(168, 230, 207, 0.2) 0%, rgba(86, 197, 150, 0.15) 100%);
    border-radius: 15px;
    text-align: center;
    border: 2px solid #d4f1e6;
}

.result.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-title {
    font-size: 18px;
    color: #5a8c7a;
    margin-bottom: 15px;
    font-weight: 500;
}

.result-time {
    font-size: 36px;
    font-weight: 700;
    color: #3ba776;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(59, 167, 118, 0.1);
}

.result-subtitle {
    font-size: 14px;
    color: #5a8c7a;
}

.warning {
    margin-top: 20px;
    padding: 15px;
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    border-radius: 5px;
    font-size: 14px;
    color: #856404;
    text-align: left;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        margin: 1em;
        padding: 10px;
    }

    .calculator-body {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 22px;
    }

    .header p {
        font-size: 14px;
    }

    .tank-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tank-option {
        padding: 12px;
    }

    .tank-icon {
        font-size: 32px;
    }

    .tank-volume {
        font-size: 16px;
    }

    .result-time {
        font-size: 28px;
    }

    .step-title {
        font-size: 16px;
    }

    .info-box {
        padding: 15px;
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .info-content {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .calculate-btn {
        font-size: 16px;
        padding: 15px;
    }
}

.info-box {
    display: flex;
    flex-wrap: wrap;
}

.info-content {
    flex: 1;
    min-width: 300px; /* Minimum width before stacking */
}