/*
 * Date Calculator Specific Styles
 */

.calculator-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.tab-container .nav-tabs {
    border-bottom: none;
}

.tab-container .nav-tabs > li > a {
    border-radius: 6px 6px 0 0;
    background: #f0f2f5;
    color: #555;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.tab-container .nav-tabs > li.active > a,
.tab-container .nav-tabs > li.active > a:hover,
.tab-container .nav-tabs > li.active > a:focus {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.tab-container .nav-tabs > li > a:hover {
    background-color: #e9ecef;
}

.tab-container .nav-tabs > li > a i {
    margin-right: 8px;
}

.tab-content {
    border: 1px solid #e0e0e0;
    border-top: none;
    padding: 20px;
    background: #fff;
    border-radius: 0 0 8px 8px;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-control {
    border-radius: 4px;
    box-shadow: none;
    border-color: #ccc;
    height: 40px;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.options-row {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.action-row {
    margin-top: 30px;
}

.result-container {
    margin-top: 30px;
    padding: 20px;
    background-color: #f0f8ff;
    border: 1px solid #cce5ff;
    border-radius: 8px;
    animation: fadeIn 0.5s;
}

.result-title {
    color: #0056b3;
    margin-bottom: 15px;
}

.main-result {
    font-size: 28px;
    font-weight: 700;
    color: #007bff;
}

.sub-results {
    margin-top: 20px;
}

.result-item {
    text-align: center;
    padding: 10px;
}

.result-item .label {
    display: block;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.result-item .value {
    display: block;
    font-size: 20px;
    font-weight: 500;
    color: #343a40;
}

.presets {
    margin-top: 10px;
}

.seo-content {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.seo-content h2, .seo-content h3 {
    color: #333;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .tab-container .nav-tabs > li > a {
        font-size: 14px;
        padding: 10px 5px;
    }
    .main-result {
        font-size: 22px;
    }
    .result-item .value {
        font-size: 18px;
    }
}
