/**
 * NoPickyDog Pro - Public Stylesheet
 *
 * @package NPD_Pro
 * @version 1.0.0
 */

/* ========== General Buttons ========== */
.npd-btn,
.npd-pro-save,
.npd-pro-export,
.npd-pro-track {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    text-align: center;
}

.npd-btn:hover,
.npd-pro-save:hover,
.npd-pro-export:hover,
.npd-pro-track:hover {
    background: #5568d3;
    transform: translateY(-1px);
}

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

.npd-btn-primary:hover {
    background: #5568d3;
}

.npd-btn-secondary {
    background: #6c757d;
}

.npd-btn-secondary:hover {
    background: #5a6268;
}

/* Pro Buttons (Legacy Support) */
.npd-pro-save,
.npd-pro-export,
.npd-pro-track {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    background: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.npd-pro-save:hover,
.npd-pro-export:hover,
.npd-pro-track:hover {
    background: #e0e0e0;
    border-color: #bbb;
}

/* Pro Module in Tool Results */
.npd-pro-module {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
}

.npd-pro-module h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2E7D32;
}

/* Paywall Modal */
#npd-pro-paywall-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.npd-pro-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.npd-pro-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.npd-pro-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.npd-pro-modal-close:hover {
    color: #333;
}

.npd-pro-modal-pricing {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.npd-pro-modal-plan {
    flex: 1;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.npd-pro-modal-plan.npd-pro-popular {
    border-color: #4CAF50;
    position: relative;
}

.npd-pro-modal-price {
    font-size: 32px;
    font-weight: bold;
    margin: 15px 0;
}

.npd-pro-modal-save {
    color: #4CAF50;
    font-weight: 500;
}

.npd-pro-modal-cancel {
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Sales Page */
.npd-pro-sales {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Account Section */
.npd-pro-account {
    padding: 30px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
}

.npd-pro-account h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.npd-pro-auth-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.npd-pro-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 60px;
}

.npd-pro-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.npd-pro-hero .lead {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.npd-pro-hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.npd-pro-features {
    padding: 40px 0;
}

.npd-pro-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.npd-pro-feature {
    padding: 30px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.npd-pro-feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.npd-pro-pricing {
    padding: 60px 0;
    text-align: center;
}

.npd-pro-pricing-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.npd-pro-pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    padding: 40px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.npd-pro-popular {
    border-color: #4CAF50;
}

.npd-pro-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.npd-pro-price {
    font-size: 48px;
    font-weight: bold;
    margin: 20px 0;
}

.npd-pro-save {
    color: #4CAF50;
    font-weight: 500;
}

.npd-pro-pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    text-align: left;
}

.npd-pro-pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.npd-pro-faq {
    padding: 60px 0;
}

.npd-pro-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.npd-pro-faq-item {
    margin-bottom: 30px;
}

.npd-pro-faq-item h3 {
    margin-bottom: 10px;
}

.npd-pro-disclaimer {
    padding: 30px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    margin-top: 60px;
    text-align: center;
}

/* Dashboard */
.npd-pro-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.npd-pro-status-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.npd-pro-status-info h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.npd-pro-status-info p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.npd-pro-status-actions .npd-btn {
    background: white;
    color: #667eea;
    border: none;
}

.npd-pro-status-actions .npd-btn:hover {
    background: #f0f0f0;
}

.npd-pro-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.npd-pro-stat {
    flex: 1;
    padding: 30px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.npd-pro-stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #4CAF50;
}

.npd-pro-stat-label {
    font-size: 18px;
    color: #666;
    margin-top: 10px;
}

.npd-pro-quick-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.npd-pro-recent-runs,
.npd-pro-active-trackers {
    margin: 40px 0;
}

.npd-pro-run-list,
.npd-pro-tracker-list {
    list-style: none;
    padding: 0;
}

.npd-pro-run-list li,
.npd-pro-tracker-list li {
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.npd-pro-run-date,
.npd-pro-tracker-day {
    color: #666;
    font-size: 14px;
}

.npd-btn-small {
    padding: 5px 10px;
    font-size: 12px;
}

/* History Page */
.npd-pro-history {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.npd-pro-history-item {
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

.npd-pro-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.npd-pro-history-actions {
    display: flex;
    gap: 10px;
}

/* Tracker Page */
.npd-pro-tracker-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.tracker-overview {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.npd-pro-tracker-days {
    margin: 30px 0;
}

.npd-pro-tracker-day {
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

.npd-pro-tracker-day.completed {
    background: #f0f8f0;
    border-color: #4CAF50;
}

.completed-badge {
    color: #4CAF50;
    font-weight: 500;
    margin-bottom: 10px;
}

.npd-pro-tracker-form label {
    display: block;
    margin: 15px 0 5px;
}

.npd-pro-tracker-form textarea,
.npd-pro-tracker-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.npd-pro-tracker-summary {
    padding: 30px;
    background: #f0f8f0;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .npd-pro-hero h1 {
        font-size: 32px;
    }

    .npd-pro-modal-pricing {
        flex-direction: column;
    }

    .npd-pro-pricing-cards {
        flex-direction: column;
    }

    .npd-pro-stats {
        flex-direction: column;
    }

    .npd-pro-quick-actions {
        flex-direction: column;
    }
}

/* ========== Pro Library ========== */
.npd-pro-library {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.npd-topic-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.npd-topic-filter {
    padding: 8px 16px;
    background: #f8f9fa;
    color: #333;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.npd-topic-filter:hover {
    background: #667eea;
    color: #fff;
}

.npd-topic-filter.active {
    background: #667eea;
    color: #fff;
}

.npd-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.npd-library-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.npd-library-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.npd-library-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.npd-library-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.npd-library-card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.npd-library-card h3 a {
    color: #333;
    text-decoration: none;
}

.npd-library-card h3 a:hover {
    color: #667eea;
}

.npd-library-card p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.npd-library-card a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.npd-library-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}

.npd-page-link {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.npd-page-link:hover,
.npd-page-link.current {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

/* ========== Follow-Through Page ========== */
.npd-pro-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.npd-breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #6c757d;
}

.npd-breadcrumbs a {
    color: #667eea;
    text-decoration: none;
}

/* ========== Paywall Styles ========== */
.npd-paywall-card {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border-radius: 12px;
    padding: 40px;
    border: 2px solid #ffc107;
    text-align: center;
}

.npd-paywall-content {
    position: relative;
    overflow: hidden;
}

.npd-paywall-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(transparent, rgba(255,255,255,0.95), #fff);
    pointer-events: none;
}

.npd-paywall-content {
    filter: blur(3px);
    user-select: none;
}

.npd-paywall-content > * {
    pointer-events: none;
}

.npd-paywall-cta {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border-radius: 12px;
    padding: 40px;
    margin-top: -100px;
    position: relative;
    border: 2px solid #ffc107;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ========== Button Styles (Enhanced) ========== */
.npd-btn-unlock,
.npd-btn-upgrade {
    display: block;
    padding: 10px;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.npd-btn-unlock {
    background: #0073aa;
}

.npd-btn-unlock:hover {
    background: #005a87;
}

.npd-btn-upgrade {
    background: #667eea;
}

.npd-btn-upgrade:hover {
    background: #5568d3;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .npd-library-grid {
        grid-template-columns: 1fr;
    }

    .npd-pro-wrapper {
        padding: 20px;
    }

    .npd-paywall-card,
    .npd-paywall-cta {
        padding: 25px;
    }
}

/* ============================================
   Dashboard - Gamified "Unlocked" Experience
   ============================================ */
.npd-pro-dashboard {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.npd-section-title {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: #333;
    font-weight: 700;
}

.npd-section-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin: 0 0 30px 0;
}

/* Status Banner */
.npd-pro-status-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin-bottom: 40px;
    color: white;
    flex-wrap: wrap;
}

.npd-pro-status-info h2 {
    font-size: 24px;
    margin: 0 0 8px 0;
}

.npd-pro-status-info p {
    margin: 0;
    opacity: 0.95;
}

.npd-pro-status-actions .npd-btn {
    background: white;
    color: #667eea;
}

/* UNLOCKED Section */
.npd-pro-unlocked-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid #e9ecef;
}

.npd-pro-unlocked-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.npd-pro-unlocked-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.2s;
}

.npd-pro-unlocked-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.npd-unlocked-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.npd-pro-unlocked-item h3 {
    font-size: 16px;
    margin: 0 0 5px 0;
    color: #333;
}

.npd-pro-unlocked-item p {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

/* Main Action Cards */
.npd-pro-main-actions {
    margin-bottom: 40px;
}

.npd-pro-action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.npd-pro-action-card {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    border: 2px solid #e9ecef;
    transition: all 0.2s;
    position: relative;
}

.npd-pro-action-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.npd-pro-action-card.primary {
    border-color: #667eea;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
}

.npd-pro-action-card.secondary {
    border-color: #0073aa;
}

.npd-pro-action-card.tertiary {
    border-color: #6c757d;
}

.npd-action-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.npd-pro-action-card h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: #333;
}

.npd-pro-action-card p {
    font-size: 14px;
    color: #6c757d;
    margin: 0 0 12px 0;
}

.npd-action-link {
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
}

.npd-pro-action-card:hover .npd-action-link {
    text-decoration: underline;
}

/* Progress Bar in Action Card */
.npd-progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.npd-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s;
}

/* Saved Plans */
.npd-pro-saved-plans {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
}

.npd-saved-plans-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.npd-saved-plan-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    border: 1px solid #e9ecef;
}

.npd-saved-plan-info strong {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 4px;
}

.npd-saved-plan-date {
    font-size: 13px;
    color: #6c757d;
}

.npd-saved-plan-actions {
    display: flex;
    gap: 8px;
}

.npd-view-all-link {
    display: inline-block;
    margin-top: 15px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.npd-view-all-link:hover {
    text-decoration: underline;
}

.npd-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.npd-empty-state p {
    margin: 0 0 20px 0;
}

/* Progress Section */
.npd-pro-progress-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e9ecef;
}

.npd-progress-summary {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
}

.npd-progress-stat {
    text-align: center;
}

.npd-progress-number {
    font-size: 36px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.npd-progress-label {
    font-size: 13px;
    color: #6c757d;
}

.npd-progress-cta {
    text-align: center;
}

/* ============================================
   Follow-Through Page
   ============================================ */
.npd-follow-through-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.npd-ft-header {
    margin-bottom: 30px;
}

.npd-ft-header h1 {
    font-size: 32px;
    margin: 0 0 10px 0;
    color: #333;
}

.npd-ft-subtitle {
    font-size: 18px;
    color: #6c757d;
    margin: 0 0 30px 0;
}

.npd-progress-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.npd-progress-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.npd-progress-bar-container {
    margin-top: 15px;
}

.npd-progress-bar-bg {
    width: 100%;
    height: 12px;
    background: #dee2e6;
    border-radius: 6px;
    overflow: hidden;
}

.npd-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    transition: width 0.3s;
}

/* Introduction */
.npd-ft-intro {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.npd-ft-intro h2 {
    margin: 0 0 15px 0;
    color: #667eea;
}

.npd-ft-intro p {
    margin: 0 0 15px 0;
}

.npd-ft-intro ul {
    margin: 0;
    padding-left: 20px;
}

.npd-ft-intro li {
    margin-bottom: 8px;
}

/* Day List */
.npd-ft-days-list {
    margin-bottom: 30px;
}

.npd-ft-days-list h2 {
    font-size: 24px;
    margin: 0 0 10px 0;
}

.npd-ft-days-list > p {
    color: #6c757d;
    margin-bottom: 20px;
}

.npd-ft-day-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.2s;
}

.npd-ft-day-item:hover {
    border-color: #667eea;
}

.npd-ft-day-item.completed {
    border-color: #28a745;
    background: #f0fff4;
}

.npd-ft-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
}

.npd-ft-day-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.npd-ft-day-number {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

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

.npd-ft-status-badge.done {
    background: #28a745;
    color: white;
}

.npd-ft-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.npd-ft-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.npd-ft-checkbox span {
    font-size: 14px;
    font-weight: 500;
    color: #667eea;
}

.npd-ft-day-content {
    padding: 0 20px 20px;
    border-top: 1px solid #f0f0f0;
}

.npd-ft-day-content h4 {
    font-size: 16px;
    margin: 20px 0 15px 0;
    color: #667eea;
}

.npd-ft-task-group {
    margin-bottom: 20px;
}

.npd-ft-task-group:last-child {
    margin-bottom: 0;
}

.npd-ft-task-group h5 {
    font-size: 14px;
    margin: 0 0 10px 0;
    color: #333;
}

.npd-ft-task-group ul {
    margin: 0;
    padding-left: 20px;
}

.npd-ft-task-group li {
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

/* Red Flags */
.npd-ft-red-flags {
    background: #fff3cd;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #ffc107;
}

.npd-ft-red-flags h2 {
    margin: 0 0 15px 0;
    color: #856404;
}

.npd-ft-red-flags p {
    margin: 0 0 15px 0;
}

.npd-ft-red-flags ul {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.npd-ft-red-flags li {
    margin-bottom: 8px;
}

/* Navigation Buttons */
.npd-ft-nav {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Buttons (Enhanced)
   ============================================ */
.npd-btn-small {
    padding: 6px 12px;
    font-size: 13px;
}

.npd-btn-secondary {
    background: #6c757d;
    color: white;
}

.npd-btn-secondary:hover {
    background: #5a6268;
    color: white;
}

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

.npd-btn-primary:hover {
    background: #5568d3;
    color: white;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .npd-pro-status-banner {
        flex-direction: column;
        text-align: center;
    }

    .npd-pro-unlocked-grid,
    .npd-pro-action-cards {
        grid-template-columns: 1fr;
    }

    .npd-saved-plan-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .npd-saved-plan-actions {
        width: 100%;
    }

    .npd-progress-summary {
        flex-direction: column;
        gap: 20px;
    }

    .npd-ft-day-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .npd-ft-nav {
        flex-direction: column;
    }

    .npd-ft-nav .npd-btn {
        width: 100%;
        text-align: center;
    }

    .npd-pro-hero-card .npd-hero-cta {
        flex-direction: column;
    }

    /* Asset Cards - stack on mobile */
    .npd-pro-asset-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .npd-pro-today-card,
    .npd-pro-saved-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .npd-today-content,
    .npd-saved-content {
        text-align: center;
    }
}

/* ============================================
   Modern Dashboard Card Layout
   ============================================ */
.npd-pro-dashboard-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Hero Card */
.npd-pro-hero-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
}

.npd-hero-header h2 {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 700;
}

.npd-hero-expiry {
    margin: 0 0 25px 0;
    font-size: 16px;
    opacity: 0.95;
}

.npd-hero-expiry strong {
    font-weight: 600;
}

.npd-hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.npd-hero-cta .npd-btn {
    flex: 1;
    min-width: 200px;
    padding: 14px 24px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
}

.npd-hero-cta .npd-btn:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.npd-hero-secondary {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.npd-hero-secondary .npd-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    font-size: 14px;
}

.npd-hero-secondary .npd-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Today Card */
.npd-pro-today-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
}

.npd-pro-today-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.npd-today-icon {
    font-size: 48px;
    line-height: 1;
}

.npd-today-content {
    flex: 1;
}

.npd-today-content h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.npd-today-status {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Saved Plans Card */
.npd-pro-saved-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
}

.npd-pro-saved-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.npd-saved-icon {
    font-size: 48px;
    line-height: 1;
}

.npd-saved-content {
    flex: 1;
}

.npd-saved-content h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.npd-saved-count {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Asset Cards Grid */
.npd-pro-asset-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.npd-pro-asset-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.npd-pro-asset-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.npd-pro-asset-card h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.npd-pro-asset-card p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

.npd-pro-asset-card a {
    transition: background 0.2s;
}

.npd-pro-asset-card a:hover {
    background: #5568d3;
}

/* Small Button Variant */
.npd-btn-small {
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 6px;
    white-space: nowrap;
}

.npd-mark-done-btn {
    background: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.npd-mark-done-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}

/* ============================================
   Follow-Through Page - Sequential Design
   ============================================ */

/* Container */
.npd-follow-through-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Breadcrumbs */
.npd-breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #6c757d;
}

.npd-breadcrumbs a {
    color: #667eea;
    text-decoration: none;
}

.npd-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Card Base Styles */
.npd-ft-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

/* Start Card */
.npd-ft-start-card {
    text-align: center;
}

.npd-ft-start-card h2 {
    font-size: 28px;
    margin: 0 0 15px 0;
    color: #333;
}

.npd-ft-start-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 12px;
}

/* Early Day Card (Day 1-7) */
.npd-ft-early-day-card {
    text-align: center;
}

.npd-ft-early-day-card h2 {
    font-size: 32px;
    margin: 0 0 10px 0;
    color: #667eea;
}

.npd-ft-early-day-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* Hero Card */
.npd-ft-hero-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
}

.npd-ft-hero-card h1 {
    font-size: 42px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.npd-ft-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin: 0 0 30px 0;
}

/* Progress Bar */
.npd-ft-progress-container {
    max-width: 400px;
    margin: 0 auto;
}

.npd-ft-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.npd-ft-progress-text {
    font-weight: 600;
}

.npd-ft-progress-percent {
    font-weight: 700;
}

.npd-ft-progress-bar {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
}

.npd-ft-progress-fill {
    background: linear-gradient(90deg, #4CAF50 0%, #8BC34A 100%);
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Checklist Card */
.npd-ft-checklist-card {
    padding: 32px;
}

.npd-ft-checklist-form {
    margin: 0;
}

.npd-ft-section {
    margin-bottom: 32px;
}

.npd-ft-section:last-of-type {
    margin-bottom: 24px;
}

.npd-ft-section h3 {
    font-size: 18px;
    margin: 0 0 16px 0;
    color: #333;
    font-weight: 600;
}

.npd-ft-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.npd-ft-checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.npd-ft-checkbox-item:hover {
    background: #e9ecef;
}

.npd-ft-checkbox-item input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.npd-ft-checkbox-item span {
    flex: 1;
    font-size: 15px;
    line-height: 1.5;
    color: #495057;
    cursor: pointer;
    user-select: none;
}

/* Ensure checkbox labels are clickable */
.npd-ft-checkbox-item input[type="checkbox"] {
    position: relative;
    z-index: 1;
}

/* Save Section */
.npd-ft-save-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #e9ecef;
    text-align: center;
}

/* Mark Complete Card */
.npd-ft-mark-complete-card {
    text-align: center;
    padding: 24px;
}

.npd-ft-complete-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
}

.npd-btn-link {
    background: none;
    border: none;
    color: #667eea;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.npd-btn-link:hover {
    color: #5568d3;
}

/* Navigation */
.npd-ft-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    margin-top: 20px;
}

.npd-ft-complete-message {
    font-size: 18px;
    font-weight: 600;
    color: #4CAF50;
}

/* Red Flags */
.npd-ft-red-flags {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    margin-top: 20px;
    overflow: hidden;
}

.npd-ft-red-flags summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #856404;
    user-select: none;
}

.npd-ft-red-flags summary:hover {
    background: #ffe69c;
}

.npd-red-flags-content {
    padding: 20px;
    border-top: 1px solid #ffc107;
    background: #fff;
}

.npd-red-flags-content p {
    margin-bottom: 12px;
    color: #856404;
}

.npd-red-flags-content p:last-child {
    margin-bottom: 0;
}

.npd-red-flags-content ul {
    margin: 12px 0;
    padding-left: 24px;
}

.npd-red-flags-content li {
    margin-bottom: 8px;
    color: #856404;
}

.npd-red-flags-content li:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .npd-follow-through-container {
        padding: 20px 16px;
    }

    .npd-ft-card {
        padding: 24px 20px;
    }

    .npd-ft-hero-card h1 {
        font-size: 32px;
    }

    .npd-ft-navigation {
        flex-direction: column;
    }

    .npd-ft-navigation .npd-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .npd-ft-hero-card h1 {
        font-size: 28px;
    }

    .npd-ft-section h3 {
        font-size: 16px;
    }

    .npd-ft-checkbox-item {
        padding: 10px 12px;
    }

    .npd-ft-checkbox-item span {
        font-size: 14px;
    }
}

