﻿.container-results {
    margin: 0 auto;
    padding: 20px;
    font-family: "Segoe UI", sans-serif;
}

.header-section {
    text-align: center;
    margin-bottom: 25px;
}

.heading {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.subheading {
    color: #666;
    margin-top: 5px;
}

.result-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

    .result-card:hover {
        transform: translateY(-4px);
    }

    .result-card h3 {
        margin-bottom: 10px;
        font-size: 22px;
        font-weight: bold;
        color: #444;
    }

    .result-card .amount {
        font-size: 18px;
        font-weight: 600;
        color: #00897B;
    }

.winners-list {
    margin-top: 10px;
    padding-left: 15px;
    color: #444;
}

    .winners-list li {
        padding: 4px 0;
        font-size: 15px;
        border-bottom: 1px dashed #eee;
    }

.table-container {
    margin-top: 20px;
    overflow-x: auto;
}

.winners-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

    .winners-table th, .winners-table td {
        padding: 10px;
        border: 1px solid #ddd;
        text-align: center;
        font-size: 14px;
    }

    .winners-table th {
        background: #f7f7f7;
        font-weight: bold;
    }



.prize-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.result-card {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.third-prize-section {
    margin-top: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .third-prize-section h3 {
        margin-bottom: 12px;
        font-size: 18px;
        color: #444;
    }

.third-prize-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

    .third-prize-table th {
        background: #f5f5f5;
        padding: 8px;
        border-bottom: 2px solid #ddd;
        font-weight: bold;
        font-size: 14px;
    }

    .third-prize-table td {
        padding: 8px;
        border-bottom: 1px solid #eee;
        font-size: 14px;
    }

.third-prize-section {
    margin-top: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .third-prize-section h3 {
        margin-bottom: 12px;
        font-size: 18px;
        color: #444;
    }

.third-prize-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

    .third-prize-table th {
        background: #f5f5f5;
        padding: 8px;
        border-bottom: 2px solid #ddd;
        font-weight: bold;
        font-size: 14px;
    }

    .third-prize-table td {
        padding: 6px;
        border-bottom: 1px solid #eee;
        font-size: 14px;
    }


.draw-selector {
    min-width: 280px; /* small screen safety */
    max-width: 50%; /* so it doesn’t stretch too wide */
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.no-draw-results {
    text-align: center;
    font-weight: bold;
    padding: 1px;
}

stat-date {
    font-size: 1rem; /* smaller than stat-number */
    font-weight: 500; /* medium weight */
    color: #555; /* muted gray */
    display: block; /* ensures it sits on its own line */
    margin-top: 5px; /* space above */
}

.bond-no {
    color: #00352f;
    display: inline-block; /* needed for transform */
    transition: transform 0.2s ease-in-out;
}

.bond-no:hover {
    transform: scale(1.3); /* zoom effect */
    font-weight: 500; /* medium weight */
    padding-left: 5px; /* space above */
}


.result-amount {
    font-size: 18px;
    font-weight: 600;
    color: #00897B;
}



/* =========================================================
   🎯 PRIZE BOND SEARCH STYLESHEET
   Smooth, responsive, and minimal aesthetic
   ========================================================= */

/* ====== COLLAPSIBLE SEARCH AREA ====== */

/* Default State (Hidden) */
.search-area {
    background: linear-gradient(135deg, #0aa550 0%, #764ba2 100%);
    padding: 5px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
    max-width: 1100px;
    margin: 0 auto;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    border-radius: 30px;
    transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.3s ease;
}

    /* Active (Visible) State */
    .search-area.active {
        max-height: 600px;
        opacity: 1;
        margin-top: 20px;
    }

/* Inner Layout */
.search-area-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px;
}

/* Label */
.search-area label {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

/* ===== TEXTAREA ===== */
.search-area textarea {
    width: 100%;
    min-height: 180px;
    padding: 16px 18px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    font-size: 16px;
    font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.95);
    color: #2d3748;
    resize: vertical;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

    .search-area textarea:focus {
        outline: none;
        border-color: #ffffff;
        background: #ffffff;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

    .search-area textarea::placeholder {
        color: #a0aec0;
        font-size: 15px;
        opacity: 0.9;
    }

/* ===== SEARCH BUTTON ===== */
.search-button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .search-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
        background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    }

    .search-button:active {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
    }

/* ===== INFO TEXT ===== */
.info-text {
    background: rgba(255, 255, 255, 0.15);
    border-left: 4px solid #ffffff;
    padding: 14px 18px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    backdrop-filter: blur(10px);
}

    .info-text strong {
        font-weight: 700;
        color: #fff;
    }

/* ===== TOGGLE BUTTON ===== */

/* ===== TOGGLE BUTTON ===== */
.toggle-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: flex-end; /* ✅ aligns content to the right */
    gap: 10px;
    margin-left: auto; /* ✅ pushes it right */
}

    /* Hover + Active */
    .toggle-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    }

    .toggle-button:active {
        transform: translateY(0);
    }

/* ===== TOGGLE ICON ===== */
.toggle-icon {
    width: 22px;
    height: 22px;
    position: relative;
    transition: transform 0.3s ease;
}

    .toggle-icon::before,
    .toggle-icon::after {
        content: "";
        position: absolute;
        background: #ffffff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Horizontal line (–) */
    .toggle-icon::before {
        width: 16px;
        height: 3px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* Vertical line (+) */
    .toggle-icon::after {
        width: 3px;
        height: 16px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

/* When Active → turn + into – */
.toggle-button.active .toggle-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.toggle-button.active .toggle-icon {
    transform: rotate(180deg);
}
