/* Turbo Dashboard Styles */
.turbo-dashboard {
    max-width: 90%;
    margin: 20px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
  
}
/* common btn style// */
.trstemp-primary-btn{
    padding: 5px 15px;
    background-color:#234cff;
    color:#fff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(35,76,255,0.3);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}
.trstemp-secondary-btn{
    padding: 5px 15px;
    background-color:#f9faff;
    color:#303030;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(35,76,255,0.3);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

/* Header Styles */
.turbo-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.turbo-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50px, -50px);
}

.turbo-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.turbo-logo h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.turbo-logo p {
    margin: 5px 0 0 0;
    opacity: 0.9;
    font-size: 16px;
}

.turbo-license-status {
    display: flex;
    align-items: center;
    gap: 15px;
}

.license-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.license-badge.active {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 2px solid rgba(40, 167, 69, 0.3);
}

.license-badge.inactive {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 2px solid rgba(255, 193, 7, 0.3);
}

.upgrade-btn {
    background: #fff;
    color: #667eea;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Navigation Tabs */
.trstemp-turbo-nav-tabs {
    display: flex;
    background: white;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    gap: 20px;
    position: sticky;
    top: 30px;
    z-index: 2;
}

.trstemp-tab-link {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.trstemp-tab-link.active,
.trstemp-tab-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Overview Grid */
.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    /* margin-bottom: 20px; */
}

@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
}

.overview-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    padding-top: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.trstemp-required-plugin-status{
 width: 100%;
}
.trstemp-required-plugin-status img{
 width: 100%;
}


.overview-card.trstemp-current-site-preview {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;;
}


/* Alternative: inject styles into iframe via JavaScript */


.trstemp-card-header h3 {
    margin-top: 3px;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}


.site-actions {
    display: flex;
    gap: 10px;
}

/* Stats */
.stat-item {
    text-align: center;
    padding: 15px;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Status List */
.status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.status-label {
    font-weight: 500;
    color: #333;
}

.status-value.active {
    color: #28a745;
    font-weight: 500;
}

.status-value.inactive {
    color: #dc3545;
    font-weight: 500;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
}

/* Section Styles */
.templates-section,
.toolkit-section,
.settings-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
    font-weight: 700;
}

.section-header p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

/* Template Actions */
.template-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .template-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Template Categories */
.template-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    text-align: center;
    padding: 30px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.category-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.category-card h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-weight: 600;
}

.category-card p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.template-count {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Toolkit Grid */
.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.tool-card {
    padding: 25px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
}

.tool-card:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.1);
}

.tool-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.tool-card h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-weight: 600;
}

.tool-card p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.tool-status {
    margin-top: 15px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.inactive {
    background: #ffc107;
    color: #856404;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
}

/* Toolkit CTA */
.trstemp-toolkit-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    position: relative;
    overflow: hidden;
}

.trstemp-toolkit-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-30px, -30px);
}

.trstemp-toolkit-cta h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    position: relative;
    z-index: 1;
    color: #f0f0f0;
}

.trstemp-toolkit-cta p {
    margin: 0 0 20px 0;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.trstemp-toolkit-cta .btn-primary {
    background: white;
    color: #667eea;
    position: relative;
    z-index: 1;
}

.trstemp-toolkit-cta .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.trstemp-settings-card {
    padding: 25px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    background: white;
}

.trstemp-settings-card h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.setting-item {
    margin-bottom: 15px;
    background: #f8f9fa;
    padding: 12px 15px;
    color: #333;
    transition: all 0.3s ease;
}

.setting-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.setting-item a:hover {
    transform: translateX(5px);
}

.arrow {
    color: #667eea;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .turbo-dashboard {
        padding: 0 15px;
    }
    
    .turbo-header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .trstemp-turbo-nav-tabs {
        flex-direction: column;
    }
    
    .trstemp-tab-link {
        margin-bottom: 5px;
    }
    
    .toolkit-grid,
    .settings-grid,
    .template-categories {
        grid-template-columns: 1fr;
    }
}

/* =========================dashboard call to action sections========================= */
/* Main Container */
.trstemp-toolkit-cta-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 0 auto;
    margin-top: 30px;
}

/* Card Base Styles */
.trstemp-toolkit-card {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.trstemp-toolkit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Premium Card Specific */
.trstemp-featured-card {
    border: 2px solid #4f46e5;
    box-shadow: 0 5px 20px rgba(79, 70, 229, 0.15);
}

/* Card Header */
.trstemp-card-header {
    display: flex;
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 8px;
}

.trstemp-card-title {
    margin: 0;
    font-size: 24px;
    color: #1f2937;
    font-weight: 600;
}

/* Price Badges */
.trstemp-price-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute;
    right: 40px;
}

.trstemp-free-badge {
    background: #d1fae5;
    color: #065f46;
}

.trstemp-premium-badge {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
}

/* Card Description */
.trstemp-card-description {
    color: #6b7280;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

/* Features List */
.trstemp-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.trstemp-feature-item {
    padding: 10px 0;
    color: #374151;
    font-size: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.trstemp-feature-item:last-child {
    border-bottom: none;
}

.trstemp-check-icon {
    color: #10b981;
    margin-right: 10px;
    font-weight: bold;
}

/* Buttons */
.trstemp-btn {
    width: 80%;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.trstemp-btn-large {
    padding: 16px 32px;
}

.trstemp-btn-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
}

.trstemp-btn-primary:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.trstemp-btn-secondary {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #d1d5db;
}

.trstemp-btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.trstemp-upgrade-btn {
    margin-top: 10px;
    margin-bottom: 10px;
}
.trstemp-upgrade-btn:hover {
    color: #8c86ff;
}

/* Upgrade Note */
.trstemp-upgrade-note {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #6b7280;
}

.trstemp-activate-link {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.trstemp-activate-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .trstemp-toolkit-cta-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trstemp-toolkit-card {
        padding: 20px;
    }
    
    .trstemp-card-title {
        font-size: 20px;
    }
    
    .trstemp-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* Additional Helper Classes */
.trstemp-text-center {
    text-align: center;
}

.trstemp-mt-10 {
    margin-top: 10px;
}

.trstemp-mb-10 {
    margin-bottom: 10px;
}
