/**
 * Admin Styles for 24TT Document Verifier v2.0.0
 * * This file handles the Elementor-style dashboard layout, 
 * responsive grids, and premium UI elements.
 */

/* ==========================================================================
   1. Base Wrapper & Header
   ========================================================================== */
.ttdvr-admin-wrap {
    max-width: 1200px;
    margin: 20px 20px 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ttdvr-dashboard-header {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    border: 1px solid #ccd0d4;
    border-left: 4px solid #007cba;
    /* WordPress Blue accent */
}

.ttdvr-dashboard-header h1 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
    color: #1d2327;
}

.ttdvr-dashboard-header .about-text {
    margin: 0;
    font-size: 16px;
    color: #50575e;
}

/* ==========================================================================
   2. Layout Grid (The 70/30 Split)
   ========================================================================== */
.ttdvr-dashboard-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    align-items: start;
}

/* Responsive collapse for smaller screens */
@media screen and (max-width: 900px) {
    .ttdvr-dashboard-layout {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   3. Cards & Containers
   ========================================================================== */
.ttdvr-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    border: 1px solid #ccd0d4;
}

.ttdvr-card h2 {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f1;
    font-size: 20px;
}

/* ==========================================================================
   4. Shortcode & Quick Start
   ========================================================================== */
.ttdvr-shortcode-box {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.ttdvr-shortcode-input {
    font-size: 16px !important;
    padding: 8px 12px !important;
    background: #f6f7f7 !important;
    color: #2271b1 !important;
    font-weight: 600;
}

.ttdvr-quick-start-list {
    margin: 0;
    padding-left: 20px;
}

.ttdvr-quick-start-list li {
    margin-bottom: 15px;
    font-size: 14px;
    color: #3c434a;
}

.ttdvr-quick-start-list li strong {
    font-size: 15px;
    color: #1d2327;
    display: block;
    margin-bottom: 5px;
}

/* ==========================================================================
   5. Community Hub Grid
   ========================================================================== */
.ttdvr-community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

@media screen and (max-width: 1200px) {
    .ttdvr-community-grid {
        grid-template-columns: 1fr;
    }
}

.ttdvr-community-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: #f6f7f7;
    border: 1px solid #dcdde1;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #3c434a;
}

.ttdvr-community-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ttdvr-community-link span.dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
}

.ttdvr-community-link strong {
    font-size: 15px;
    margin-bottom: 5px;
    color: #1d2327;
}

.ttdvr-community-link span {
    font-size: 13px;
    color: #646970;
}

/* Brand Colors for Hover States */
.ttdvr-community-link.whatsapp:hover {
    border-color: #25D366;
    color: #25D366;
}

.ttdvr-community-link.whatsapp-channel:hover {
    border-color: #128C7E;
    color: #128C7E;
}

.ttdvr-community-link.facebook:hover {
    border-color: #1877F2;
    color: #1877F2;
}

.ttdvr-community-link.support:hover {
    border-color: #007cba;
    color: #007cba;
}

/* ==========================================================================
   6. Go Pro Upsell Sidebar
   ========================================================================== */
.ttdvr-pro-banner {
    background: linear-gradient(135deg, #1e1e1e 0%, #3a3a3a 100%);
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ttdvr-pro-header {
    background: linear-gradient(90deg, #ff9900 0%, #ff5500 100%);
    /* Premium Gold/Orange */
    padding: 20px;
    text-align: center;
}

.ttdvr-pro-header h3 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ttdvr-pro-body {
    padding: 25px;
}

.ttdvr-pro-body p {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 0;
    color: #e0e0e0;
}

.ttdvr-pro-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.ttdvr-pro-features li {
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    color: #fff;
}

.ttdvr-pro-features .dashicons {
    color: #ff9900;
    margin-right: 8px;
}

.ttdvr-btn-pro {
    display: block;
    text-align: center;
    width: 100%;
    background: #ff9900 !important;
    border-color: #e68a00 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: bold;
    text-shadow: none !important;
    box-shadow: 0 2px 0 #cc7a00 !important;
}

.ttdvr-btn-pro:hover {
    background: #ffaa33 !important;
}