/**
 * Paws & Care Admin Upsell Styles
 * 
 * Styles for Theme Info page, Customizer upgrade, and admin notices
 * @package Paws_And_Care
 * @since 0.0.1
 */

/* =================================================================
   BANNER BUTTONS
   ================================================================= */

.paws-welcome-banner {
    background: linear-gradient(135deg, var(--paws-admin-color) 0%, var(--paws-admin-color) 100%);
    padding: 25px 30px;
    border-radius: 8px;
    color: #fff;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.paws-welcome-banner h2 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 22px;
}

.paws-welcome-banner p {
    margin: 0;
    opacity: 0.95;
}

.paws-banner-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.paws-banner-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.paws-banner-btn-primary {
    background: #fff;
    color: var(--paws-admin-color);
    border: none;
    border-radius: 25px;
    padding: 8px 24px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.paws-banner-btn-primary:hover {
    background: #f5f5f5;
    color: var(--paws-admin-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* =================================================================
   TWO COLUMN LAYOUT
   ================================================================= */

.paws-main-content {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* =================================================================
   FEATURES COMPARISON TABLE
   ================================================================= */

.paws-features {
    flex: 1 0 680px;
    background: #fff;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.paws-features h2 {
    margin-top: 0;
    color: #333;
}

.paws-features table {
    border-collapse: collapse;
    width: 100%;
}

.paws-features th,
.paws-features td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.paws-features th {
    background: #f8f9fa;
    font-weight: 600;
}

.paws-features .feature-icon {
    color: var(--paws-admin-color);
    margin-right: 8px;
    vertical-align: middle;
}

.paws-features .section-header td {
    background: var(--paws-admin-color);
    color: #fff;
    font-weight: 600;
    padding: 10px 15px;
}

.paws-features .premium-only {
    background: color-mix(in srgb, var(--paws-admin-color) 5%, white);
}

.paws-features .check {
    color: #22c55e;
    font-weight: bold;
}

.paws-features .cross {
    color: #ccc;
}

.paws-features .highlight {
    color: var(--paws-admin-color);
    font-weight: 600;
}

/* =================================================================
   SIDEBAR
   ================================================================= */

.paws-sidebar {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 32px;
    align-self: flex-start;
}

.paws-sidebar-box {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.paws-sidebar-box h3 {
    margin: 0 0 15px 0;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.paws-sidebar-box h3 .dashicons {
    color: var(--paws-admin-color);
}

.paws-sidebar-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.paws-sidebar-box li {
    margin-bottom: 10px;
}

.paws-sidebar-box li a {
    text-decoration: none;
    color: #2271b1;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.paws-sidebar-box li a:hover {
    color: var(--paws-admin-color);
}

.paws-sidebar-box .info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.paws-sidebar-box .info-row:last-child {
    border: none;
}

.paws-sidebar-box .stars {
    color: #ffb900;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* =================================================================
   ADMIN NOTICE - MODERN HERO STYLE (Adapted from Formula)
   ================================================================= */

/* Override parent notice wrapper to clean the canvas */
.notice-get-started-class.paws-welcome-notice {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 15px 0 !important;
    margin: 15px 0 !important;
}

.notice-get-started-class.paws-welcome-notice::before,
.notice-get-started-class.paws-welcome-notice::after {
    display: none !important;
}

/* Style the native WordPress dismiss button */
.notice-get-started-class.paws-welcome-notice .notice-dismiss {
    top: 50% !important;
    right: 20px !important;
    transform: translateY(-50%) !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
}

.notice-get-started-class.paws-welcome-notice .notice-dismiss:hover,
.notice-get-started-class.paws-welcome-notice .notice-dismiss:focus {
    color: #fff !important;
}

.notice-get-started-class.paws-welcome-notice .notice-dismiss::before {
    color: inherit !important;
    font-size: 20px !important;
}

.paws-getting-started-notice {
    /* Variables - Precise Theme Color with Formula Styling */
    --paws-hero-bg: var(--paws-admin-color);
    --paws-hero-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    --paws-hero-radius: 16px;
    --paws-hero-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--paws-hero-bg);
    border-radius: var(--paws-hero-radius);
    padding: 40px;
    box-shadow: var(--paws-hero-shadow);
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* Glassmorphism accent shape */
.paws-getting-started-notice::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(20deg);
    pointer-events: none;
}

.paws-theme-screenshot {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.paws-theme-screenshot img {
    width: 100%;
    max-width: 250px;
    display: block;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.paws-theme-notice-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

h2.paws-notice-h2 {
    margin: 0 0 12px !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

h2.paws-notice-h2 strong {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.paws-theme-notice-content p.paws-notice-text {
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.6 !important;
    margin: 0 0 30px 0 !important;
}

.paws-notice-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Precise Formula Button Replicated & Increased Size */
.paws-btn-get-started.button.button-primary.button-hero {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: auto !important;
    padding: 16px 36px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #92400e !important;
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%) !important;
    border: none !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    transition: var(--paws-hero-transition) !important;
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.4) !important;
    text-shadow: none !important;
    text-transform: none !important;
}

.paws-btn-get-started.button.button-primary.button-hero:hover,
.paws-btn-get-started.button.button-primary.button-hero:focus {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(252, 211, 77, 0.5) !important;
    color: #78350f !important;
    background: linear-gradient(135deg, #fffbeb 0%, #fbbf24 100%) !important;
}

/* Responsive Styles */
@media screen and (max-width: 900px) {
    .paws-getting-started-notice {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 25px;
    }

    .paws-theme-notice-content p.paws-notice-text {
        margin-left: auto;
        margin-right: auto;
    }

    .paws-notice-actions {
        justify-content: center;
    }
}

/* =================================================================
   CUSTOMIZER UPGRADE SECTION
   ================================================================= */

.paws-upgrade-pro-wrapper {
    background: linear-gradient(135deg, var(--paws-admin-color) 0%, var(--paws-admin-color) 50%, var(--paws-admin-color) 100%);
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    margin: -12px;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.paws-upgrade-pro-wrapper h3 {
    color: #fff !important;
    font-size: 18px !important;
    margin: 0 0 10px 0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.paws-upgrade-pro-wrapper .tagline {
    font-size: 13px;
    opacity: 0.95;
    margin-bottom: 15px;
}

.paws-upgrade-pro-wrapper .features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
    text-align: left;
}

.paws-upgrade-pro-wrapper .feature-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.paws-upgrade-pro-wrapper .feature-item .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.paws-upgrade-pro-wrapper .demo-btn {
    display: block;
    text-align: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.paws-upgrade-pro-wrapper .demo-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.paws-upgrade-pro-wrapper .upgrade-btn {
    display: inline-block;
    background: #fff !important;
    color: var(--paws-admin-color) !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.paws-upgrade-pro-wrapper .upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #fff5ee !important;
}

.paws-upgrade-pro-wrapper .bonus-text {
    margin-top: 15px;
    font-size: 11px;
    opacity: 0.9;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */

@media screen and (max-width: 1200px) {
    .paws-features {
        flex: 1 1 100%;
    }
    
    .paws-sidebar {
        position: static;
        max-width: 100%;
    }
}
