/* Bhutan Teer Result Styles */

.pro-teer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.pro-teer-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pro-teer-header {
    padding: 10px 1px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

/* Bhutan Specific Header Color */
.pro-teer-bhutan .pro-teer-header {
    background: linear-gradient(135deg, #FF9933 0%, #138808 100%);
    /* Orange-Green Gradient */
}

.pro-teer-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
}

.pro-teer-date {
    font-size: 0.85rem;
    opacity: 0.9;
    background: rgb(255 255 255);
    padding: 4px 8px;
    border-radius: 20px;
    color: black;
    font-weight: bold;
}

.pro-teer-results {
    padding: 2px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.pro-teer-round {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8f9fa;
    padding: 1px 1px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.round-label {
    font-size: 0.75rem;
    color: #000000;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.round-time {
    font-size: 0.8rem;
    color: #000000;
    margin-bottom: 8px;
    font-weight: 500;
}

.round-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #212529;
    line-height: 1;
}

.pro-teer-footer {
    position: relative;
    height: 50px;
    padding: 0 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-size: 0.8rem;
    color: #6c757d;
}

.pro-teer-footer-left {
    z-index: 2;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pro-teer-footer-right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.pro-refresh-btn {
    pointer-events: auto;
    background: linear-gradient(135deg, #3085d6 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pro-refresh-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #4da3ff 0%, #0069d9 100%);
}

.pro-refresh-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.active-dot {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

@media (max-width: 480px) {
    .pro-teer-container {
        grid-template-columns: 1fr;
    }
}

.pro-teer-announcement {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #ffeeba;
    font-weight: 500;
}

/* History Card Style */
.pro-teer-history-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.pro-teer-history-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #ffeef5;
    overflow: hidden;
}

.pro-teer-history-date-header {
    background: linear-gradient(135deg, #FF9933 0%, #138808 100%);
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    padding: 5px;
}

.pro-teer-history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
}

.pro-teer-history-col {
    padding: 8px;
}

.pro-teer-history-label {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 500;
}

.pro-teer-history-val {
    display: block;
    font-size: 1.5rem;
    color: #333;
    font-weight: 700;
}

.pro-teer-badge-off {
    background: #ff4757;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: inline-block;
}

/* Mini Table Styles */
.pro-teer-mini-table {
    margin: 10px 15px;
    background: #f1f3f5;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.mini-header {
    background: #e9ecef;
    color: #495057;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.mini-body {
    display: flex;
    justify-content: space-around;
    padding: 8px;
}

.mini-row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mini-label {
    font-size: 0.7rem;
    color: #868e96;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.mini-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: #343a40;
}

/* Common Numbers Styles */
.pro-common-container {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    text-align: center;
    margin-bottom: 20px;
}

.pro-common-title {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
}

.pro-common-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 15px;
    justify-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.pro-common-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF9933, #138808);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(19, 136, 8, 0.4);
    transition: transform 0.2s ease;
}

.pro-common-box:hover {
    transform: scale(1.1);
}