/**
 * Main Stylesheet for Iskiepiai.lt
 * Modernized UI with premium aesthetics, glassmorphism, and dynamic interactions.
 */

:root {
    /* Primary Brand Colors */
    --bs-primary: #6AA56A;
    /* Modern Violet */
    --bs-primary-rgb: 106, 165, 106;
    --bs-primary-hover: #588c58;

    /* Secondary & Accent Colors */
    --bs-secondary: #64748b;
    --bs-success: #10b981;
    --bs-info: #0ea5e9;
    --bs-warning: #f59e0b;
    --bs-danger: #ef4444;
    --bs-light: #f8fafc;
    --bs-dark: #1e293b;
    
    /* Text Colors */
    --bs-text-primary: #1e293b;
    --bs-text-secondary: #64748b;
    --bs-text-muted: #94a3b8;

    /* Backgrounds */
    --bs-body-bg: #f8fafc;
    --bs-surface-bg: #ffffff;
    --bs-surface-glass: rgba(255, 255, 255, 0.9);

    --input-border-radius: 0.75rem;
    --btn-border-radius: 0.75rem;
    --card-border-radius: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 10px 25px -5px rgba(106, 165, 106, 0.4);

    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--bs-text-secondary);
    background-color: var(--bs-body-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--bs-text-primary);
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.display-4, .display-5, .display-6 {
    font-weight: 800;
    letter-spacing: -0.04em;
}

a {
    text-decoration: none;
    transition: var(--transition-base);
    color: var(--bs-primary);
}

a:hover {
    color: var(--bs-primary-hover);
    text-decoration: none;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #8bc48b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-surface-secondary {
    background-color: #f1f5f9;
}

.section-padding {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    border-radius: var(--btn-border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #588c58 100%);
    border: none;
    box-shadow: 0 4px 6px -1px rgba(106, 165, 106, 0.3);
    color: #fff;
}

.btn-primary:hover {
    box-shadow: 0 10px 15px -3px rgba(106, 165, 106, 0.4);
    filter: brightness(1.1);
}

.btn-outline-secondary {
    color: var(--bs-text-secondary);
    border-color: #e2e8f0;
    background: #fff;
}

.btn-outline-secondary:hover {
    background-color: #f8fafc;
    color: var(--bs-text-primary);
    border-color: #cbd5e1;
}

.btn-sm {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
}

/* Cards */
.card {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-md);
    background-color: var(--bs-surface-bg);
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Forms */
.form-control,
.form-select {
    border-radius: var(--input-border-radius);
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition-base);
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(106, 165, 106, 0.1);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--bs-text-primary);
    font-size: 0.9rem;
}

/* Select2 Customization */
.select2-container--bootstrap-5 .select2-selection {
    border-radius: var(--input-border-radius) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    min-height: calc(1.5em + 1.5rem + 2px) !important; 
    background-color: #fff !important;
}

.select2-container--bootstrap-5 .select2-selection--single {
    height: auto !important;
    padding: 0.75rem 1rem !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    line-height: 1.5 !important;
    padding-left: 0 !important;
    color: var(--bs-text-primary) !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 1rem !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 4px rgba(106, 165, 106, 0.1) !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple {
    min-height: calc(1.5em + 1.5rem + 2px) !important;
    padding: 0.375rem 1rem !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: #e2e8f0 !important;
    border-radius: var(--card-border-radius) !important;
    box-shadow: var(--shadow-lg) !important;
    border-top: none !important;
    z-index: 1056 !important;
}

.select2-container--bootstrap-5 .select2-search__field {
    border-radius: var(--input-border-radius) !important;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected] {
    background-color: var(--bs-primary) !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff !important;
}

/* Tables */
.table-responsive {
    border-radius: var(--card-border-radius);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--bs-surface-bg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
}

.table {
    margin-bottom: 0;
}

.table th {
    background-color: #f8fafc;
    color: var(--bs-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    color: var(--bs-text-secondary);
}

.table-hover tbody tr:hover {
    background-color: #f8fafc;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95) !important;
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 800;
    color: var(--bs-primary) !important;
    letter-spacing: -0.03em;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--bs-text-secondary) !important;
    margin: 0 0.25rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
    background-color: rgba(106, 165, 106, 0.05);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(106, 165, 106, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.1), transparent 40%);
}

.hero h1 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--bs-text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-image-container {
    margin-top: 3rem;
    position: relative;
}

.hero-image {
    filter: drop-shadow(0 20px 40px rgba(106, 165, 106, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Hero Floating Icons */
.hero-floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.icon-float {
    position: absolute;
    color: var(--bs-primary);
    opacity: 0.08;
    animation: floatIcon 6s ease-in-out infinite;
}

@keyframes floatIcon {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.icon-1 { top: 10%; left: 5%; font-size: 3rem; animation-delay: 0s; }
.icon-2 { top: 15%; right: 10%; font-size: 4rem; animation-delay: 1s; }
.icon-3 { bottom: 20%; left: 8%; font-size: 2.5rem; animation-delay: 2s; }
.icon-4 { bottom: 15%; right: 5%; font-size: 3.5rem; animation-delay: 0.5s; }
.icon-5 { top: 45%; left: 12%; font-size: 2rem; animation-delay: 3s; opacity: 0.05; }
.icon-6 { top: 30%; right: 18%; font-size: 2.5rem; animation-delay: 1.5s; opacity: 0.05; }
.icon-7 { bottom: 10%; left: 35%; font-size: 1.5rem; animation-delay: 2.5s; opacity: 0.06; }
.icon-8 { top: 12%; left: 45%; font-size: 1.8rem; animation-delay: 4s; opacity: 0.04; }

/* Plan Cards */
.plan-card {
    border: 1px solid transparent;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-lg);
    background-color: #fff;
    padding: 3rem 2rem;
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
    border-color: rgba(106, 165, 106, 0.2);
}

/* Highlighting a recommended plan */
.plan-card.recommended {
    border: 2px solid var(--bs-primary);
    background: linear-gradient(to bottom, #fff, #faf5ff);
}

.plan-card.recommended::before {
    content: 'Populiariausias';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bs-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bs-text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.plan-price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1;
    letter-spacing: -0.03em;
}

.plan-price .currency {
    font-size: 2rem;
    vertical-align: top;
    opacity: 0.8;
}

.plan-price .duration {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bs-text-muted);
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.plan-description {
    font-size: 1rem;
    color: var(--bs-text-secondary);
    margin-bottom: 2rem;
    min-height: 3rem;
    text-align: center;
}

.plan-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--bs-text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.plan-features li i {
    color: var(--bs-success);
    margin-right: 0.75rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.btn-select-plan {
    width: 100%;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Feature Cards */
.feature-card {
    height: 100%;
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-align: center;
}

.feature-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    border-color: transparent;
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(106, 165, 106, 0.1) 0%, rgba(106, 165, 106, 0.05) 100%);
    color: var(--bs-primary);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--bs-primary);
    color: #fff;
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 10px 20px -5px rgba(106, 165, 106, 0.4);
}

.feature-card:hover .feature-icon-wrapper i {
    color: #fff !important;
}

.feature-card h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--bs-text-secondary);
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background-color: var(--bs-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-section h2 {
    color: #fff;
}

.contact-section p {
    color: #94a3b8;
}

.contact-info-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
}

.contact-info-item a {
    color: #fff;
    font-weight: 600;
}

.contact-info-item a:hover {
    color: #a78bfa;
}

/* Footer */
footer {
    background-color: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 3rem 0;
    color: var(--bs-text-secondary);
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--btn-border-radius);
    box-shadow: var(--shadow-sm);
    padding: 1rem 1.5rem;
}

/* Badges */
.badge {
    padding: 0.5em 0.8em;
    border-radius: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Sub-user Notification */
.sub-user-notification-bar {
    background-color: #fffbeb;
    border-bottom: 1px solid #fcd34d;
    color: #92400e;
    padding: 0.75rem;
}

/* --- Iškeliami stiliai iš subscribe_form.php --- */

/* Konfigūracijos mygtukai */
.duration-options-adjust .btn-check:checked + .btn,
.duration-options-adjust .btn.active,
.duration-options-adjust .btn:active,
.duration-options-adjust .show>.btn.dropdown-toggle {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}
.duration-options-adjust .btn:hover {
    color: var(--bs-primary);
    background-color: #f8f9fa;
    border-color: var(--bs-primary);
}
.duration-options-adjust .btn-check:checked + .btn:hover {
    color: white;
    background-color: var(--bs-primary);
}
.duration-options-adjust .btn-group { width: 100%; }
.duration-options-adjust .btn { 
    padding: 1rem; 
    font-size: 1rem; 
    line-height: 1.4; 
    border-radius: 0.5rem !important;
    margin: 0 0.25rem;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease-in-out;
}
.duration-options-adjust .btn:first-child { margin-left: 0; }
.duration-options-adjust .btn:last-child { margin-right: 0; }

.duration-options-adjust .price-label { 
    font-weight: 700; 
    display: block; 
    font-size: 1.25rem; 
    margin-top: 0.25rem;
}
.duration-options-adjust .price-sublabel { font-size: 0.85em; color: #6c757d; display: block; }
.duration-options-adjust .btn-check:checked + .btn .price-sublabel { color: rgba(255, 255, 255, 0.75); }

/* Papildomi pasirinkimai (Add-on selection) */
.addon-selection .form-check {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    margin-bottom: .75rem;
    background-color: #fff;
    transition: all .2s ease-in-out;
    cursor: pointer;
}
.addon-selection .form-check:hover { 
    border-color: var(--bs-primary);
    background-color: rgba(106, 165, 106, 0.02);
}
.addon-selection .form-check-input { 
    margin-top: 0; 
    flex-shrink: 0; 
    width: 1.25em;
    height: 1.25em;
    cursor: pointer;
}
.addon-selection .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.addon-selection .form-check-label { 
    margin-left: 1rem; 
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.addon-selection .form-check-label small {
    flex-basis: 100%;
    margin-top: 0.25rem;
    color: #6c757d;
}
.addon-price-label { 
    font-weight: 700; 
    color: var(--bs-primary); 
    font-size: 1.1em;
}

/* Užsakymo suvestinė */
.summary-box { 
    background-color: #f8f9fa; 
    border: 1px solid #dee2e6; 
    border-radius: .75rem; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.summary-box .summary-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: .75rem 0; 
    border-top: 1px solid #e9ecef; 
    color: #495057;
}
.summary-box .summary-item:first-child { border-top: none; }
.summary-box .summary-total { 
    font-size: 1.25rem; 
    font-weight: 800; 
    padding-top: 1rem; 
    margin-top: .5rem; 
    border-top: 2px solid #dee2e6;
    color: var(--bs-gray-900);
}

/* Step Indicator */
.step-indicator {
    width: 2rem;
    height: 2rem;
    background-color: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-weight: bold;
    font-size: 1rem;
}

/* Media Queries - Mobile adjustments */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding-left: 0;
        margin-left: 0;
    }
    .navbar-nav {
        padding-left: 0;
    }
}

@media (max-width: 767.98px) {
    .duration-options-adjust .btn-group {
        flex-direction: column;
    }
    .duration-options-adjust .btn {
        margin: 0 0 0.5rem 0;
    }
    .duration-options-adjust .btn:last-child {
        margin-bottom: 0;
    }
    .summary-box .summary-total {
        font-size: 1rem;
    }
    .summary-box {
        padding: 1rem !important;
    }
}

/* --- Cron užduočių ataskaita (run_jobs.php) --- */
/* Note: Cron job is usually standalone, but including here for consistency if used elsewhere */
.cron-report-container { max-width: 900px; margin: auto; background: #fff; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 30px; }
.cron-report-h1 { color: var(--bs-primary); border-bottom: 2px solid var(--bs-primary); padding-bottom: 10px; font-size: 24px; display: flex; align-items: center; }
.cron-report-h1 i { margin-right: 12px; font-size: 28px; }
.cron-report-h2 { font-size: 20px; color: #444; margin-top: 30px; border-bottom: 1px solid #eee; padding-bottom: 8px; display: flex; align-items: center;}
.cron-report-h2 i { margin-right: 10px; font-size: 22px; color: #666; }
.cron-report-p { margin: 8px 0 8px 25px; padding-left: 15px; border-left: 3px solid #ddd; }
.cron-timestamp { font-size: 14px; color: #888; text-align: center; margin-top: -10px; margin-bottom: 25px; }
.log-info { border-left-color: #0d6efd; }
.log-processing { border-left-color: #6c757d; color: #555; }
.log-success { border-left-color: #198754; color: #198754; }
.log-skip { border-left-color: #ffc107; color: #856404; }
.log-error { border-left-color: #dc3545; color: #dc3545; font-weight: bold; }
.cron-summary { margin-top: 30px; padding: 15px; background-color: #e9ecef; border-radius: 5px; text-align: center; font-size: 16px; border-left: none; }

/* --- El. laiškų šablonai (template.php) --- */
/* Note: Email styles are usually inline, but some classes can be shared */
.email-body { margin: 0; padding: 0; width: 100% !important; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background-color: #f4f4f4; font-family: Arial, sans-serif; color: #333333; }
.email-wrapper { width: 100%; max-width: 600px; margin: 0 auto; background-color: #ffffff; }
.email-header { padding: 20px; text-align: center; border-bottom: 1px solid #dddddd; }
.email-header img { max-height: 50px; }
.email-content { padding: 30px; line-height: 1.6; font-size: 16px; }
.email-content h1 { font-size: 22px; color: #333333; }
.email-content h2, .email-content h3 { color: #333; }
.email-content p { margin-bottom: 15px; }
.email-button { display: inline-block; padding: 12px 25px; background-color: var(--bs-primary); color: #ffffff; text-decoration: none; border-radius: 5px; font-weight: bold; }
.email-footer { text-align: center; font-size: 12px; color: #777; margin-top: 20px; }
.email-footer a { color: #777; text-decoration: none; }

/* --- Administratoriaus puslapiai --- */
/* Select2 styles */
.select2-container .select2-selection--single { height: calc(1.5em + .75rem + 2px); }
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    background-color: #0d6efd; border-color: #0a58ca; color: #fff;
}

/* Formos sekcijos */
.form-section { padding: 1.5rem; border: 1px solid #dee2e6; border-radius: 0.375rem; background-color: #f8f9fa; margin-bottom: 2rem; }
.form-section h4 { border-bottom: 1px solid #ced4da; padding-bottom: 0.5rem; margin-bottom: 1rem; }
.hidden-field { display: none !important; }

/* Lentelių stiliai (admin/client_subscriptions_list.php) */
.table th, .table td { vertical-align: middle; font-size: 0.875rem; }
.status-badge {font-size: 0.8em; padding: .3em .6em; vertical-align: middle;}
.status-active {background-color: var(--bs-success); color: white;}
.status-pending_payment, .status-pending_confirmation {background-color: var(--bs-warning); color: black;}
.status-cancelled {background-color: var(--bs-secondary); color: white;}
.status-expired, .status-failed_payment {background-color: var(--bs-danger); color: white;}
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: center;
}
.action-buttons .btn, .action-buttons form { 
    margin: 0;
}

/* --- Plano koregavimo forma (item/adjust_form.php) --- */
.plan-card-adjust {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    padding: 1rem;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, opacity 0.3s;
}
.plan-card-adjust:hover:not(.disabled) {
    border-color: #a1a8af;
}
.plan-card-adjust.selected {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}
.plan-card-adjust input[type="radio"] {
    display: none; /* Paslepiam radio mygtuką */
}
.plan-card-adjust.disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background-color: #f8f9fa;
}
.plan-card-adjust.disabled label {
    pointer-events: none; 
}

.plan-details-small { font-size: 0.85em; color: #6c757d; }
.plan-features-adjust { list-style: none; padding-left: 0; margin-top: 0.5rem; margin-bottom: 0.5rem; font-size: 0.8rem; }
.plan-features-adjust li { margin-bottom: 0.3rem; display: flex; align-items: flex-start; }
.plan-features-adjust li i { color: var(--bs-success); margin-right: 0.4rem; margin-top: 0.1rem; font-size: 0.9em; }

.duration-options-adjust .btn-group > .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.2;
}
.duration-options-adjust .btn-check:not(:checked) + .btn:not(.disabled):hover {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.1);
}

/* Lightbox & Gallery */
.lightbox-trigger {
    cursor: pointer;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-trigger:hover .image-overlay {
    opacity: 1;
}

.thumbnail-container {
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s;
    border: 2px solid transparent;
    border-radius: 0.375rem;
    overflow: hidden;
    height: auto;
    aspect-ratio: 1 / 1;
}

.thumbnail-container:hover, .thumbnail-container.active {
    opacity: 1;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 1px rgba(106, 165, 106, 0.5);
}

.thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.2s ease;
    z-index: 1055;
}

.lightbox-nav-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.prev {
    left: 20px;
}

.lightbox-nav-btn.next {
    right: 20px;
}

/* Minimalist FAQ Accordion */
#faqAccordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#faqAccordion .accordion-button {
    background: transparent;
    box-shadow: none;
    padding: 1.25rem 0;
    font-weight: 600;
    font-size: 1rem;
}

#faqAccordion .accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background: transparent;
    box-shadow: none;
}

#faqAccordion .accordion-button::after {
    display: none;
}

#faqAccordion .accordion-button::before {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    content: "";
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out;
    /* Plus icon */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236aa56a'%3e%3cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3e%3c/svg%3e");
}

#faqAccordion .accordion-button:not(.collapsed)::before {
    /* Minus icon */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236aa56a'%3e%3cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3e%3c/svg%3e");
}

#faqAccordion .accordion-body {
    padding: 0 0 1.5rem 0;
    color: var(--bs-text-secondary);
}

/* Mobile Spacing Optimization */
@media (max-width: 767.98px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .plan-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
}