.expiration-section {
    min-height: 100vh;
    padding: 40px 0;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.expiration-section .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 30px;
}

.calculator-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.calculator-title i {
    font-size: 32px;
}

.calculator-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.calculator-badge {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-item {
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
}

.calculator-main {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group label i {
    color: #43e97b;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #43e97b;
    box-shadow: 0 0 0 3px rgba(67, 233, 123, 0.1);
}

.input-wrapper {
    display: flex;
    gap: 10px;
}

.input-wrapper .form-control {
    flex: 1;
}

.unit-select {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.unit-select:focus {
    outline: none;
    border-color: #43e97b;
}

.calculate-btn-wrapper {
    margin-bottom: 25px;
}

.calculate-btn {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(67, 233, 123, 0.4);
}

.result-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.result-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-title i {
    color: #43e97b;
}

.result-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: #666;
    font-size: 16px;
}

.result-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.result-value.status {
    padding: 5px 15px;
    border-radius: 20px;
}

.result-value.status.valid {
    background: #d4edda;
    color: #155724;
}

.result-value.status.warning {
    background: #fff3cd;
    color: #856404;
}

.result-value.status.expired {
    background: #f8d7da;
    color: #721c24;
}

.countdown-section {
    display: none;
}

.countdown-section.active {
    display: block;
}

.countdown-title {
    text-align: center;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.countdown-item {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.countdown-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.countdown-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.common-items {
    margin-bottom: 25px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #43e97b;
}

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

.item-btn {
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.item-btn:hover {
    background: #43e97b;
    border-color: #43e97b;
    color: #fff;
}

.tips-section {
    background: #fffbe6;
    border: 1px solid #ffe066;
    border-radius: 12px;
    padding: 20px;
}

.tips-list {
    margin: 0;
    padding-left: 20px;
}

.tips-list li {
    padding: 8px 0;
    color: #8b7355;
    font-size: 14px;
}

@media (max-width: 480px) {
    .calculator-main {
        padding: 20px;
    }

    .items-grid {
        grid-template-columns: 1fr;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}