/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/* Recent Result Card Styling */

.recent-result-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
    max-width: 100%;
}

/* Hide the checkbox, but keep it in the DOM */
.recent-result-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.recent-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
    margin-bottom: 16px;
    cursor: pointer; /* make it clear it can be clicked */
}

.recent-result-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
}

.recent-result-recovered {
    text-align: left;
    font-size: 1rem;
}

.recent-result-recovered .label {
    display: block;
    font-weight: 600;
    color: rgb(62, 88, 107);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding-left: 0px;
}

.recent-result-recovered .value {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
    color: rgb(62, 88, 107); 
}

/* Collapsed by default */
.recent-result-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

/* Expanded when checkbox is checked */
.recent-result-toggle:checked + .recent-result-header + .recent-result-body {
    max-height: 1000px; /* big enough to fit typical content */
}

.recent-result-body p:last-child {
    margin-bottom: 0;
}


