/* src/main/resources/static/css/unemployment-benefits-dropdown.css */

.ub-info-dropdown-container {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.ub-info-dropdown {
    border-bottom: 1px solid #e0e0e0;
}

.ub-info-dropdown summary {
    padding: 20px 10px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none; /* Remove default marker */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.ub-info-dropdown summary:hover {
    background-color: #f9f9f9;
}

.ub-info-dropdown summary::-webkit-details-marker {
    display: none; /* Hide for Webkit browsers */
}

.ub-info-dropdown summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #888;
    transition: transform 0.2s;
}

.ub-info-dropdown[open] summary::after {
    transform: rotate(45deg);
}

.ub-info-dropdown-content {
    padding: 10px 20px 20px 20px;
    background-color: #fcfcfc;
    border-top: 1px solid #e0e0e0;
    line-height: 1.6;
    color: #333;
}

.ub-info-dropdown-content h3 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333; /* Changed to black/dark gray */
}

.ub-info-dropdown-content p, .ub-info-dropdown-content ul {
    margin-bottom: 15px;
}

.ub-info-dropdown-content ul {
    padding-left: 20px;
}

.ub-info-dropdown-content li {
    margin-bottom: 8px;
}

.ub-info-dropdown-content strong {
    color: #333; /* Changed to black/dark gray */
    font-weight: 500;
}

.related-calculators {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 15px;
    padding-top: 10px;
}

.related-calc-btn {
    display: block;
    padding: 15px 10px;
    background-color: #319C80; /* Changed to match calc-btn-submit */
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem; /* Changed to reflect 2pt decrease */
    font-weight: 500;
    transition: background-color 0.2s, transform 0.2s;
}

.related-calc-btn:hover {
    background-color: #28816c; /* Changed to match calc-btn-submit hover */
    transform: translateY(-2px);
}
