/* === Days Calculator Container === */
.days-calculator-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 25px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* === Heading === */
.days-calculator-container h2 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.days-calculator-container h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    border-radius: 3px;
}

/* === Form Section === */
.input-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
    font-size: 15px;
}

.form-group label i {
    margin-right: 8px;
    color: #4facfe;
}

/* === Input Field === */
.date-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 15px;
    background-color: #fff;
    transition: border-color 0.3s;
    height: 48px;
}

/* === Buttons === */
.button-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.calculate-btn {
    flex: 3;
    padding: 14px;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    box-shadow: 0 4px 10px rgba(79, 172, 254, 0.3);
}

.calculate-btn:hover {
    background: linear-gradient(to right, #3ca3fd 0%, #00d9e8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(79, 172, 254, 0.4);
}

.reset-btn {
    flex: 1;
    padding: 14px;
    background: #fff;
    color: #495057;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.reset-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    color: #ff4444;
    border-color: #ffbbbb;
}

.reset-btn:active {
    transform: translateY(0);
}

/* === Result Section === */
.result-section {
    display: none;
}

.result-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.result-card h3 {
    color: #333;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#days_result_text {
    font-size: 16px;
    color: #1a73e8;
    font-weight: 600;
}

/* === Responsive Design === */
@media (max-width: 600px) {
    .button-group {
        flex-direction: column;
    }

    .calculate-btn,
    .reset-btn {
        width: 100%;
    }
}
