/*
Theme Name: DPBOSS 24x7
Theme URI: https://dpboss24x7.site
Author: DPBOSS Team
Author URI: https://dpboss24x7.site
Description: A complete Satta Matka result WordPress theme inspired by dpbossss.boston. Features live results, jodi charts, panel charts, guessing forum, admin dashboard, and SEO-optimized structure.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dpboss24x7
Domain Path: /languages
Tags: satta-matka, kalyan-matka, matka-results, gambling, results, charts
*/

/* ===== GLOBAL RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: #ffcc77;}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffcc77;
    color: #000080;
    font-size: 14px;
    line-height: 1.5;
}
a { text-decoration: none; color: #000080; }
a:hover { color: #ff0080; }
img { max-width: 100%; height: auto; }

/* ===== HEADER ===== */
.site-header {
    background-color: #ffcc77;
    border: 3px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.site-logo {
    font-size: 32px;
    font-weight: bold;
    color: #000;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.site-logo span.dp { color: #ff0080; font-style: italic; font-family: cursive; }

/* ===== WELCOME BAR ===== */
.welcome-bar {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    display: flex;
    
}
.welcome-bar img { border-radius: 8px; max-height: 60px; }
.welcome-text { font-size: 16px; font-weight: bold; color: #000; }

/* ===== SITE DESCRIPTION ===== */
.site-desc {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: #000080;
}

/* ===== TODAY LUCKY NUMBER ===== */
.lucky-number-section {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 0;
    overflow: hidden;
}
.lucky-header {
    background-color: #ff0080;
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    border-radius: 10px;
    margin: 5px;
}
.lucky-grid {
    display: flex;
    flex-wrap: wrap;
}
.lucky-box {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 10px;
    border-right: 2px solid #cc0000;
}
.lucky-box:last-child { border-right: none; }
.lucky-title { font-size: 16px; font-weight: bold; color: #000080; font-style: italic; }
.lucky-value { font-size: 24px; font-weight: bold; color: #000080; }
.final-ank-item { font-size: 12px; font-weight: bold; color: #000080; }

/* ===== NOTICE SECTION ===== */
.notice-section {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    text-align: center;
}
.notice-title { color: #ff0080; font-weight: bold; font-size: 16px; }
.notice-content { font-size: 14px; font-weight: bold; color: #000080; }

/* ===== LIVE RESULT SECTION ===== */
.live-result-section {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 0;
    overflow: hidden;
}
.live-header {
    background-color: #ff0080;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    margin: 5px;
}
.live-subtitle { text-align: center; font-size: 16px; font-weight: bold; color: #000; padding: 5px; }

/* ===== MARKET ROW ===== */
.market-row {
    border-bottom: 1px solid #cc0000;
    padding: 8px;
    text-align: center;
    position: relative;
}
.market-row:nth-child(even) { background-color: rgba(255,255,255,0.1); }
.market-row.featured { background-color: #ffff00; }
.market-name {
    font-size: 16px;
    font-weight: bold;
    color: #000080;
    text-transform: uppercase;
}
.market-result {
    font-size: 18px;
    font-weight: bold;
    color: #800080;
}
.market-result.loading { color: #cc0000; font-style: italic; }
.market-time { font-size: 12px; font-weight: bold; color: #000; }
.market-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}
.btn-jodi, .btn-panel, .btn-refresh, .btn-vip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    border: 2px solid darkred;
    cursor: pointer;
    text-transform: uppercase;
}
.btn-jodi { background-color: #3333cc; }
.btn-panel { background-color: #3333cc; }
.btn-refresh { background-color: #3333cc;}
.btn-vip { background-color: #3333cc; position: fixed; bottom: 10px; left: 10px; z-index: 999; }
.btn-refresh-fixed { background-color: #3333cc; position: fixed; bottom: 10px; left: 50px; padding:5px;  }
.btn-jodi:hover, .btn-panel:hover, .btn-refresh:hover, .btn-vip:hover { background-color: #ff0080; }

/* ===== AD SECTIONS ===== */
.ad-section {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 15px;
    text-align: center;
}

/* ===== FAST RESULT TABLE ===== */
.fast-result-section {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 0;
    overflow: hidden;
}
.fast-result-header {
    background-color: #ff0080;
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 10px;
    margin: 5px;
}
.market-list { padding: 5px; }
.market-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #cc0000;
    justify-content: space-between;
}
.market-item.featured { background-color: #ffff00; }
.market-info { flex: 1; text-align: center; }
.market-info h4 { font-size: 15px; color: #000080; text-transform: uppercase; }
.market-info .result { font-size: 16px; font-weight: bold; color: #800080; }
.market-info .time { font-size: 11px; color: #000; }

/* ===== GUESSING SECTION ===== */
.guessing-section {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
}
.guess-header {
    background-color: #008000;
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}
.guess-content { padding: 10px; text-align: center; }
.guess-ank { font-size: 18px; font-weight: bold; color: #000080; }
.guess-panna { font-size: 14px; font-weight: bold; color: #000080; word-break: break-all; }

/* ===== WEEKLY CHARTS ===== */
.weekly-section {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    text-align: center;
}
.weekly-title { font-size: 16px; font-weight: bold; color: #000080; margin-bottom: 10px; }
.weekly-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.weekly-day { background: #ff0080; color: #fff; padding: 5px 10px; border-radius: 5px; font-weight: bold; }

/* ===== SEO CONTENT SECTIONS ===== */
.seo-section {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 15px;
}
.seo-section h2 {
    color: #0000cc;
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    font-style: italic;
}
.seo-section h3 {
    color: #0000cc;
    font-size: 15px;
    margin: 10px 0 5px;
    text-align: center;
    font-style: italic;
}
.seo-section p { font-size: 13px; line-height: 1.6; margin-bottom: 8px; text-align: center; }
.seo-section ul { margin-left: 20px; font-size: 13px; }

/* ===== FAQ SECTION ===== */
.faq-section {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 15px;
}
.faq-item { margin-bottom: 15px; }
.faq-question { font-size: 16px; font-weight: bold; color: #0000cc; margin-bottom: 5px; }
.faq-answer { font-size: 13px; line-height: 1.6; }

/* ===== TAGS / KEYWORDS ===== */
.tags-section {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #cc0000;
}
.tags-section a { color: #cc0000; margin: 0 3px; }
.tags-section a:hover { color: #ff0080; }

/* ===== DISCLAIMER ===== */
.disclaimer {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 15px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}
.disclaimer-title { font-size: 18px; font-weight: bold; margin-bottom: 10px; }

/* ===== FOOTER ===== */
.site-footer {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 15px;
    text-align: center;
}
.footer-powered { font-size: 18px; font-weight: bold; }
.footer-links { margin: 10px 0; }
.footer-links a { margin: 0 10px; font-size: 13px; font-weight: bold; }
.footer-copy { font-size: 12px; }

/* ===== JODI/PANEL CHART PAGE ===== */
.chart-page { padding: 10px; }
.chart-title {
    background-color: #3333cc;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    margin: 10px;
}
.chart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px;
    max-width: calc(100% - 20px);
}
.chart-table th {
    background-color: #ffcc00;
    border: 1px solid #cc0000;
    padding: 8px;
    font-size: 14px;
    font-weight: bold;
}
.chart-table td {
    border: 1px solid #cc0000;
    padding: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}
.chart-table tr:nth-child(even) { background-color: rgba(255,255,255,0.2); }
.chart-table td span.red { color: #cc0000; }

/* ===== 404 PAGE ===== */
.error-404 {
    text-align: center;
    padding: 50px 20px;
}
.error-404 h1 { font-size: 120px; color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.error-404 p { font-size: 18px; margin: 20px 0; }
.btn-home {
    display: inline-block;
    background-color: #ff0080;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
}
.btn-home:hover { background-color: #cc0000; color: #fff; }

/* ===== ABOUT / CONTACT / PRIVACY / TOS PAGES ===== */
.page-content {
    background-color: #ffcc99;
    border: 2px solid #cc0000;
    border-radius: 10px;
    margin: 10px;
    padding: 20px;
}
.page-title {
    background-color: #ff0080;
    color: #fff;
    text-align: center;
    padding: 12px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 10px;
    margin-bottom: 15px;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.page-inner h2 { font-size: 18px; color: #0000cc; margin: 15px 0 10px; text-align: center; font-style: italic; }
.page-inner h3 { font-size: 16px; color: #0000cc; margin: 12px 0 8px; }
.page-inner p { font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
.page-inner ul { margin-left: 25px; margin-bottom: 10px; }
.page-inner a { color: #0000cc; text-decoration: underline; }

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 5px; color: #000; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cc0000;
    border-radius: 5px;
    font-size: 14px;
}
.btn-submit {
    background-color: #ff6600;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
.btn-submit:hover { background-color: #ff0080; }
.contact-info { margin-top: 20px; }
.contact-info p { margin-bottom: 5px; }

/* ===== API PAGE ===== */
.api-page { text-align: center; padding: 20px; }
.api-hero { background-color: #cc0000; color: #fff; padding: 40px 20px; margin: -20px -20px 20px; }
.api-hero h2 { font-size: 28px; margin-bottom: 10px; }
.api-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 30px 0; }
.api-feature { flex: 1; min-width: 250px; max-width: 350px; border: 2px solid #ff0080; border-radius: 10px; padding: 20px; }
.api-feature i { font-size: 40px; color: #cc0000; margin-bottom: 10px; }
.api-feature h4 { font-size: 18px; margin-bottom: 10px; color: #0000cc; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .site-logo { font-size: 22px; }
    .welcome-bar { flex-direction: column; text-align: right; }
    .lucky-box { border-right: none; border-bottom: 2px solid #cc0000; }
    .lucky-box:last-child { border-bottom: none; }
    .market-actions { flex-direction: column; gap: 5px; }
    .chart-table { font-size: 12px; }
    .chart-table th, .chart-table td { padding: 4px; }
    .api-feature { min-width: 100%; }
}

/* ===== ADMIN BAR OVERRIDE ===== */
#wpadminbar { position: fixed !important; }

/* ===== SCROLL TO TOP ===== */
.go-top {
    display: inline-block;
    background-color: #87CEEB;
    color: #0000cc;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: bold;
    margin: 10px auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.go-top:hover { background-color: #ff0080; color: #fff; }

/* ===== ADMIN DASHBOARD STYLES ===== */
.wp-admin .dpboss-admin-wrap { max-width: 1200px; }
.dpboss-admin-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.dpboss-admin-card h2 { margin-top: 0; border-bottom: 1px solid #c3c4c7; padding-bottom: 10px; }
.dpboss-form-row { margin-bottom: 15px; }
.dpboss-form-row label { display: block; font-weight: 600; margin-bottom: 5px; }
.dpboss-form-row input, .dpboss-form-row select, .dpboss-form-row textarea {
    width: 100%;
    max-width: 400px;
}
.dpboss-table { width: 100%; border-collapse: collapse; }
.dpboss-table th, .dpboss-table td { padding: 8px; border: 1px solid #c3c4c7; text-align: left; }
.dpboss-table th { background: #f0f0f1; }
.dpboss-table tr:nth-child(even) { background: #f6f7f7; }
.dpboss-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
.badge-active { background: #d4edda; color: #155724; }
.badge-inactive { background: #f8d7da; color: #721c24; }

/* ===== PAGINATION ===== */
.pagination { text-align: center; margin: 20px 0; }
.pagination a, .pagination span {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border: 1px solid #cc0000;
    border-radius: 5px;
    background: #ffcc99;
    font-weight: bold;
}
.pagination a:hover { background: #ff0080; color: #fff; }
.pagination .current { background: #ff0080; color: #fff; }
