/* atcs-shortcodes.css v3.2*/

.atcs-form {
   /* font-family: Arial, sans-serif;*/
    margin: 10px auto;
    max-width: 450px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f7f7f7;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.atcs-form .atcs-form-group {
    margin-bottom: 15px;
}

.atcs-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.atcs-form input[type="date"] {
    padding: 8px;
    font-size: 15px;
    margin-bottom: 15px; /* Adjusted for spacing between fields */
    width: calc(100% - 18px); /* Full width with padding adjustment */
    border: 1px solid #ccc;
    border-radius: 4px;
}

.atcs-button-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive adjustments for small screens */
@media (max-width: 600px) {
    .atcs-button-group {
        display: flex;
        flex-direction: column; /* Stack buttons on smaller screens */
    }

    .atcs-form input[type="button"] {
        width: 70%; /* Make each button take full width */
        box-sizing: border-box;
    }
}

.atcs-form input[type="button"] {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0065B7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}

.atcs-form input[type="button"]:hover {
    background-color: #003049;
}

.atcs-result {
    margin-top: 20px;
    padding: 10px;
    background-color: white; /*#f0f0f0;*/
    border: 1px solid #d1e7e7;
    border-radius: 4px;
    font-size: 15px;
}

.atcs-result #pcalc-result-summary {
    text-align: center;
}

.atcs-result h3, .atcs-result h4 {
    margin-top: 0;
    line-height: 1.3em !important;
}

.atcs-result table {
    width: 100%; /* Example to ensure the table spans the div */
    border-collapse: collapse; /* Optional: Collapse table borders */
    margin: 10px 0; /* Add spacing around the table */
    font-size: 14px; /* Ensure consistent font size */
}

.atcs-result table th, 
.atcs-result table td {
    border: 1px solid #d1e7e7; /* Add border to cells */
    padding: 8px; /* Add padding for better spacing */
    text-align: left; /* Optional: Align text in cells */
    font-size: 14px !important; /* Ensure consistent font size */
}

.atcs-result-narrow {
    margin: 10px auto; /* Center the element and add margin */
    max-width: 450px; /* Limit the maximum width */
}

.atcs-result-centered {
    text-align: center;
}
