* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 0;
    margin: 0;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.menu-toggle:active {
    transform: translateY(0);
}

.header-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.header-text {
    flex: 1;
}

.header h1 {
    font-size: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.header p {
    color: #718096;
    font-size: 14px;
    font-weight: 500;
    margin: 4px 0 0 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
}

.drawer.active {
    transform: translateX(0);
}

.drawer-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.drawer-title {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border: none;
    cursor: pointer;
    color: #667eea;
    font-size: 20px;
    transition: all 0.3s ease;
}

.drawer-close:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: rotate(90deg);
}

.drawer-menu {
    padding: 20px 0;
}

.drawer-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #2d3748;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.drawer-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-menu-item:hover {
    background: rgba(102, 126, 234, 0.05);
    border-left-color: #667eea;
    padding-left: 24px;
}

.drawer-menu-item:hover::before {
    width: 100%;
}

.drawer-menu-item-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.drawer-menu-item i {
    margin-right: 12px;
    font-size: 20px;
    color: #667eea;
    vertical-align: middle;
}

.drawer-menu-premium-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
    flex-shrink: 0;
    margin-left: 12px;
}

.drawer-menu-premium-badge i {
    font-size: 14px;
    color: #5c4813;
    margin: 0;
}

.landings-list {
    display: grid;
    gap: 20px;
}

.landing-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.landing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.landing-info {
    flex: 1;
    min-width: 250px;
}

.landing-name {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.landing-description {
    color: #718096;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landing-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #a0aec0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 8px;
}

.status-started {
    background: #fed7d7;
    color: #c53030;
}

.status-finished {
    background: #c6f6d5;
    color: #22543d;
}

.status-error {
    background: #feebc8;
    color: #c05621;
}

.landing-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.action-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
    border: none;
    cursor: pointer;
}

.action-btn:hover {
    transform: scale(1.1);
}

.btn-preview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-preview:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-edit {
    background: #48bb78;
    color: white;
}

.btn-edit:hover {
    background: #38a169;
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

.btn-delete {
    background: #f56565;
    color: white;
}

.btn-delete:hover {
    background: #e53e3e;
    box-shadow: 0 5px 15px rgba(245, 101, 101, 0.4);
}

.empty-state {
    background: white;
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.empty-state i {
    font-size: 80px;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.empty-state h2 {
    font-size: 24px;
    color: #2d3748;
    margin-bottom: 10px;
}

.empty-state p {
    color: #718096;
    font-size: 16px;
}

/* ============================================
   LANDING DETAIL PAGE - GRID CARDS
   ============================================ */

/* Navigation Row */
.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
}

.back-link,
a.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.back-link:hover,
a.back-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-4px);
}

.back-link i,
a.back-link i {
    font-size: 18px;
}

.preview-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.preview-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.preview-link i {
    font-size: 20px;
}

.section-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.section-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
}

.card-title i {
    font-size: 22px;
    color: #667eea;
}

.card-body {
    padding: 20px;
    flex: 1;
}

.card-image-preview {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f8fafc;
}

.card-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Card */
.gallery-card {
    grid-column: span 2;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    color: #667eea;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item.inactive {
    opacity: 0.5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-edit {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-item-edit:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
}

.gallery-item-delete {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e53e3e;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-item-delete:hover {
    background: #e53e3e;
    color: white;
    transform: scale(1.1);
}

.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.data-row:last-child {
    border-bottom: none;
}

.data-label {
    color: #718096;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 100px;
}

.data-value {
    color: #2d3748;
    font-size: 14px;
    text-align: right;
    word-break: break-word;
}

.section-title-row {
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 12px;
}

.section-main-title {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.item-row:hover {
    background: #f1f5f9;
}

.item-title {
    font-size: 13px;
    color: #4a5568;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #e2e8f0;
}

.btn-item-edit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    color: #667eea;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-item-edit:hover {
    background: #667eea;
    color: white;
}

.btn-item-edit i {
    font-size: 16px;
}

.btn-item-delete {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    color: #e53e3e;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}

.btn-item-delete:hover {
    background: #e53e3e;
    color: white;
}

.btn-item-delete i {
    font-size: 16px;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.empty-items {
    padding: 16px;
    text-align: center;
    color: #a0aec0;
    font-size: 13px;
    font-style: italic;
}

.card-footer {
    padding: 16px 20px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}

.btn-card-edit,
.btn-card-add,
.btn-card-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-card-edit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-card-edit:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-card-add {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.25);
}

.btn-card-add:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    box-shadow: 0 6px 18px rgba(72, 187, 120, 0.4);
    transform: translateY(-2px);
}

.btn-card-secondary {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-card-secondary:hover {
    background: #e2e8f0;
    color: #475569;
    border-color: #cbd5e0;
}

/* Card footer with two buttons */
.card-footer-buttons {
    display: flex;
    gap: 12px;
}

.card-footer-buttons .btn-card-add,
.card-footer-buttons .btn-card-secondary {
    flex: 1;
}

@media (max-width: 480px) {
    .card-footer-buttons {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============================================
   SWITCH TOGGLE
   ============================================ */

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: 0.3s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch input:checked+.slider {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.switch input:checked+.slider:before {
    transform: translateX(22px);
}

.switch input:focus+.slider {
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.3);
}

/* ============================================
   FORM STYLES - REUSABLE COMPONENTS
   ============================================ */

/* Form Container */
.form-container {
    max-width: 680px;
    margin: 0 auto;
}

.form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.12);
}

.form-header-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    flex-shrink: 0;
}

.form-header-text h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 4px 0;
}

.form-header-text p {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

/* Form Base Styles */
.bystro-form {
    padding: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group:last-of-type {
    margin-bottom: 32px;
}

/* Labels */
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.form-label .required {
    color: #e53e3e;
    margin-left: 3px;
    font-weight: 700;
}

/* Input Fields - Base Styles */
.bystro-form input[type="text"],
.bystro-form input[type="email"],
.bystro-form input[type="password"],
.bystro-form input[type="number"],
.bystro-form input[type="url"],
.bystro-form input[type="tel"],
.bystro-form textarea,
.bystro-form select {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    color: #2d3748;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.bystro-form input[type="text"]:hover,
.bystro-form input[type="email"]:hover,
.bystro-form input[type="password"]:hover,
.bystro-form input[type="number"]:hover,
.bystro-form input[type="url"]:hover,
.bystro-form input[type="tel"]:hover,
.bystro-form textarea:hover,
.bystro-form select:hover {
    border-color: #cbd5e0;
    background: #fff;
}

.bystro-form input[type="text"]:focus,
.bystro-form input[type="email"]:focus,
.bystro-form input[type="password"]:focus,
.bystro-form input[type="number"]:focus,
.bystro-form input[type="url"]:focus,
.bystro-form input[type="tel"]:focus,
.bystro-form textarea:focus,
.bystro-form select:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.bystro-form input::placeholder,
.bystro-form textarea::placeholder {
    color: #a0aec0;
}

/* Textarea specific */
.bystro-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Select specific */
.bystro-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 48px;
}

/* Checkbox Styles */
.form-group-checkbox {
    margin-bottom: 24px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.checkbox-wrapper:hover {
    border-color: #667eea;
    background: #fff;
}

.bystro-form input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #2d3748;
    user-select: none;
}

.checkbox-custom {
    position: relative;
    width: 24px;
    height: 24px;
    background: white;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.bystro-form input[type="checkbox"]:checked~.checkbox-label .checkbox-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.bystro-form input[type="checkbox"]:checked~.checkbox-label .checkbox-custom::after {
    display: block;
}

.bystro-form input[type="checkbox"]:focus~.checkbox-label .checkbox-custom {
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

/* File Upload Styles */
.file-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.file-preview {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.file-preview.has-file {
    border-style: solid;
    border-color: #667eea;
}

.file-preview:hover {
    border-color: #667eea;
}

.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #a0aec0;
}

.preview-placeholder i {
    font-size: 48px;
    color: #cbd5e0;
}

.preview-placeholder span {
    font-size: 14px;
    font-weight: 500;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.btn-clear-file {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(229, 62, 62, 0.9);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.btn-clear-file:hover {
    background: #e53e3e;
    transform: scale(1.1);
}

.file-input-area {
    position: relative;
}

.file-input-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.file-input-label:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: #667eea;
}

.file-input-label i {
    font-size: 24px;
    color: #667eea;
}

.file-input-text {
    font-size: 15px;
    font-weight: 600;
    color: #667eea;
}

.file-input-hint {
    font-size: 12px;
    color: #a0aec0;
    margin-left: 8px;
}

.bystro-form input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Help Text */
.form-help {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(102, 126, 234, 0.06);
    border-radius: 8px;
    font-size: 13px;
    color: #718096;
    line-height: 1.5;
}

.form-help i {
    color: #667eea;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Input with Prefix (for social fields) */
.input-with-prefix {
    display: flex;
    align-items: stretch;
}

.input-prefix {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid #e2e8f0;
    border-right: none;
    border-radius: 12px 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #667eea;
}

.input-prefix i {
    font-size: 20px;
}

.input-with-prefix input {
    border-radius: 0 12px 12px 0 !important;
    flex: 1;
}

/* Info Box (read-only data) */
.form-info-box {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-row:first-child {
    padding-top: 0;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #718096;
    min-width: 120px;
}

.info-label i {
    font-size: 16px;
    color: #667eea;
}

.info-value {
    font-size: 14px;
    color: #2d3748;
    font-weight: 500;
}

/* Error States */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: #e53e3e;
    background: #fff5f5;
}

.form-group.has-error input:focus,
.form-group.has-error textarea:focus,
.form-group.has-error select:focus {
    border-color: #e53e3e;
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.15);
}

.form-group.has-error .file-preview {
    border-color: #e53e3e;
}

.form-errors-global {
    margin-bottom: 24px;
    padding: 16px;
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 12px;
}

.field-errors {
    margin-top: 10px;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #c53030;
    padding: 8px 0;
}

.error-message i {
    font-size: 16px;
    flex-shrink: 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    margin-top: 8px;
}

.btn-cancel,
.btn-submit {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-family: inherit;
}

.btn-cancel {
    background: #f1f5f9;
    color: #64748b;
}

.btn-cancel:hover {
    background: #e2e8f0;
    color: #475569;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-cancel i,
.btn-submit i {
    font-size: 20px;
}

/* Items Card (for section edit) */
.items-card {
    margin-top: 24px;
}

.form-header-icon-secondary {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.35);
}

.items-edit-list {
    padding: 20px;
}

.item-edit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.item-edit-row:last-child {
    margin-bottom: 0;
}

.item-edit-row:hover {
    background: #fff;
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.item-edit-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.item-edit-order {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    color: #667eea;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    flex-shrink: 0;
}

.item-edit-title {
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-item-edit-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.btn-item-edit-large:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.btn-item-edit-large i {
    font-size: 16px;
}

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

@media (max-width: 768px) {
    .landing-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .header {
        padding: 16px 0;
    }

    .header-content {
        padding: 0 20px;
        gap: 12px;
    }

    .header-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .header h1 {
        font-size: 22px;
    }

    .header p {
        font-size: 12px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .drawer {
        width: 280px;
    }

    .drawer-header {
        padding: 20px 16px;
    }

    .drawer-title {
        font-size: 18px;
    }

    .drawer-menu-item {
        padding: 14px 16px;
        font-size: 15px;
    }

    .section-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-card {
        border-radius: 12px;
    }

    .gallery-card {
        grid-column: span 1;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .gallery-item-edit,
    .gallery-item-delete {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .card-header {
        padding: 14px 16px;
    }

    .card-title {
        font-size: 15px;
    }

    .card-body {
        padding: 16px;
    }

    .data-label {
        min-width: 80px;
    }

    .card-footer {
        padding: 12px 16px;
    }

    /* Form Responsive */
    .form-container {
        padding: 0;
    }

    .form-card {
        border-radius: 16px;
    }

    .form-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .form-header-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .form-header-text h2 {
        font-size: 18px;
    }

    .bystro-form {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .bystro-form input[type="text"],
    .bystro-form input[type="email"],
    .bystro-form input[type="password"],
    .bystro-form input[type="number"],
    .bystro-form input[type="url"],
    .bystro-form input[type="tel"],
    .bystro-form textarea,
    .bystro-form select {
        padding: 12px 14px;
        font-size: 16px;
    }

    .file-preview {
        height: 160px;
    }

    .file-input-label {
        flex-direction: column;
        gap: 8px;
        padding: 14px 20px;
    }

    .file-input-hint {
        margin-left: 0;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-submit {
        padding: 14px 24px;
    }

    .form-help {
        font-size: 12px;
        padding: 8px 12px;
    }

    /* Items Card Responsive */
    .items-card {
        margin-top: 16px;
    }

    .items-edit-list {
        padding: 16px;
    }

    .item-edit-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
    }

    .item-edit-info {
        gap: 12px;
    }

    .btn-item-edit-large {
        justify-content: center;
        padding: 12px 16px;
    }
}

/* Messages */
.messages-container {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease-out;
    border-left: 5px solid;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left-width: 5px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.message-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.message-content i {
    font-size: 20px;
}

.message-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
    color: inherit;
    opacity: 0.6;
}

.message-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

.message-close i {
    font-size: 20px;
}

/* Success message */
.message-success {
    border-left-color: #10b981;
    color: #065f46;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.message-success .message-content i {
    color: #10b981;
}

/* Error message */
.message-error {
    border-left-color: #ef4444;
    color: #991b1b;
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.message-error .message-content i {
    color: #ef4444;
}

/* Warning message */
.message-warning {
    border-left-color: #f59e0b;
    color: #92400e;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.message-warning .message-content i {
    color: #f59e0b;
}

/* Info message */
.message-info {
    border-left-color: #667eea;
    color: #3730a3;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

.message-info .message-content i {
    color: #667eea;
}

/* Responsive messages */
@media (max-width: 768px) {
    .messages-container {
        padding: 0 15px;
        margin-bottom: 15px;
    }

    .message {
        padding: 12px 15px;
    }

    .message-content {
        font-size: 13px;
        gap: 10px;
    }

    .message-content i {
        font-size: 18px;
    }
}

/* ============================================
   PUBLISH BANNER
   ============================================ */

.publish-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.25), 0 4px 12px rgba(245, 158, 11, 0.15);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(245, 158, 11, 0.25), 0 4px 12px rgba(245, 158, 11, 0.15);
    }

    50% {
        box-shadow: 0 8px 40px rgba(245, 158, 11, 0.35), 0 4px 16px rgba(245, 158, 11, 0.25);
    }
}

.publish-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.publish-banner-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.publish-banner-icon i {
    font-size: 28px;
    color: white;
}

.publish-banner-text {
    flex: 1;
}

.publish-banner-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 4px 0;
}

.publish-banner-text p {
    font-size: 14px;
    color: #a16207;
    margin: 0;
    line-height: 1.5;
}

.publish-banner-action {
    flex-shrink: 0;
}

.btn-publish {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    font-family: inherit;
}

.btn-publish:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
    transform: translateY(-2px);
}

.btn-publish:active {
    transform: translateY(0);
}

.btn-publish i {
    font-size: 20px;
}

/* Responsive Publish Banner */
@media (max-width: 768px) {
    .publish-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }

    .publish-banner-content {
        flex-direction: column;
        gap: 12px;
    }

    .publish-banner-icon {
        width: 48px;
        height: 48px;
    }

    .publish-banner-icon i {
        font-size: 24px;
    }

    .publish-banner-text h3 {
        font-size: 16px;
    }

    .publish-banner-text p {
        font-size: 13px;
    }

    .btn-publish {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

/* ============================================
   PLAN STATUS BANNER
   ============================================ */

.plan-status-banner {
    width: 100%;
    padding: 12px 0;
    margin-bottom: 20px;
}

.plan-status-banner.free {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.plan-status-banner.premium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.plan-status-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.plan-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.plan-badge.free {
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    color: #666;
}

.plan-badge.premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #5c4813;
    box-shadow: 0 2px 12px rgba(255, 193, 7, 0.4), 0 0 0 1px rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.plan-badge.premium i {
    color: #b8860b;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.generations-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.generations-info i {
    color: #667eea;
}

.upgrade-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.upgrade-btn i {
    font-size: 16px;
    color: #FFD700;
}

/* CTA для активного триала — визуально выделяем оплату заранее */
.upgrade-btn.trial-cta {
    background: linear-gradient(135deg, #ffb347 0%, #ffcc33 100%);
    color: #1a1a2e;
    box-shadow: 0 10px 22px rgba(255, 193, 7, 0.35);
}

.upgrade-btn.trial-cta i {
    color: #b86b00;
}

.upgrade-btn.trial-cta:hover {
    box-shadow: 0 12px 26px rgba(255, 193, 7, 0.45);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .plan-status-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 10px;
    }

    .plan-info {
        justify-content: center;
    }

    .upgrade-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   UPGRADE BUTTON IN CARDS
   ============================================ */

.btn-card-upgrade {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #5c4813;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-card-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: #5c4813;
}

.btn-card-upgrade i {
    font-size: 16px;
}

/* ============================================
   THEME DOWNGRADE BANNER
   ============================================ */

.theme-downgrade-banner {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.15) 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.theme-downgrade-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.theme-downgrade-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.theme-downgrade-icon i {
    font-size: 24px;
    color: #5c4813;
}

.theme-downgrade-text h3 {
    font-size: 16px;
    font-weight: 600;
    color: #5c4813;
    margin-bottom: 4px;
}

.theme-downgrade-text p {
    font-size: 14px;
    color: #7a6320;
    line-height: 1.4;
}

.theme-downgrade-text strong {
    color: #5c4813;
}

.btn-upgrade-theme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #5c4813;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    flex-shrink: 0;
}

.btn-upgrade-theme:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: #5c4813;
}

.btn-upgrade-theme i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .theme-downgrade-banner {
        flex-direction: column;
        text-align: center;
    }

    .theme-downgrade-content {
        flex-direction: column;
    }

    .btn-upgrade-theme {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   ANALYTICS DASHBOARD
   ============================================ */

.analytics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.analytics-filters-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.analytics-filters {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.analytics-filters label {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    margin-bottom: 0;
}

.analytics-select {
    padding: 12px 16px;
    padding-right: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    font-size: 15px;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.25s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    width: 100%;
}

.analytics-select:hover {
    border-color: #667eea;
    background-color: #f8fafc;
}

.analytics-select:focus {
    outline: none;
    border-color: #667eea;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.analytics-select option {
    background: #ffffff;
    color: #2d3748;
    padding: 12px;
}

.analytics-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 48px;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(102, 126, 234, 0.15) 100%);
    color: #667eea;
}

.stat-icon i {
    font-size: 32px;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 4px;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.stat-detail {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.analytics-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.chart-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.chart-container h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.chart-container canvas {
    max-height: 300px;
}

.analytics-empty {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.analytics-empty p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.analytics-empty a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.analytics-empty a:hover {
    text-decoration: underline;
}

/* Premium Feature Message */
.analytics-premium-message {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 48px 32px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.premium-message-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    color: #667eea;
}

.premium-message-icon i {
    font-size: 48px;
}

.analytics-premium-message h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
    line-height: 1.3;
}

.analytics-premium-message>p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 32px;
}

.premium-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
    text-align: left;
}

.premium-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.premium-feature-item i {
    font-size: 20px;
    color: #667eea;
    flex-shrink: 0;
}

.premium-feature-item span {
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
}

.btn-premium-upgrade {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-premium-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #ffffff;
}

.btn-premium-upgrade i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .analytics-filters-card {
        padding: 20px;
    }

    .analytics-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .filter-group {
        min-width: auto;
    }

    .analytics-select {
        width: 100%;
        min-width: auto;
    }

    .analytics-stats {
        grid-template-columns: 1fr;
    }

    .analytics-charts {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .analytics-premium-message {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .premium-message-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
    }

    .premium-message-icon i {
        font-size: 36px;
    }

    .analytics-premium-message h2 {
        font-size: 24px;
    }

    .analytics-premium-message>p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .premium-features-list {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    .btn-premium-upgrade {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

/* ============================================
   TRACKING SETTINGS - PROVIDER CARDS
   ============================================ */

/* Filter Card */
.filter-card {
    margin-bottom: 20px;
}

.filter-card .card-body {
    padding: 16px 20px;
}

.filter-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.filter-row .analytics-select {
    flex: 1;
    max-width: 400px;
}

/* ============================================
   ALERT BANNERS - Reusable Components
   Types: info, success, warning, error
   ============================================ */

.alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    border-radius: 16px;
    border: 1px solid;
}

.alert-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-banner-icon i {
    font-size: 22px;
    color: white;
}

.alert-banner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alert-banner-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.alert-banner-text {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.alert-banner-text strong {
    font-weight: 600;
}

/* Info Banner */
.alert-banner.alert-info {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-color: rgba(102, 126, 234, 0.25);
}

.alert-banner.alert-info .alert-banner-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.alert-banner.alert-info .alert-banner-title {
    color: #3730a3;
}

.alert-banner.alert-info .alert-banner-text {
    color: #4338ca;
}

.alert-banner.alert-info .alert-banner-text strong {
    color: #3730a3;
}

/* Success Banner */
.alert-banner.alert-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: rgba(16, 185, 129, 0.25);
}

.alert-banner.alert-success .alert-banner-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.alert-banner.alert-success .alert-banner-title {
    color: #065f46;
}

.alert-banner.alert-success .alert-banner-text {
    color: #047857;
}

.alert-banner.alert-success .alert-banner-text strong {
    color: #065f46;
}

/* Warning Banner */
.alert-banner.alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: rgba(245, 158, 11, 0.25);
}

.alert-banner.alert-warning .alert-banner-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.alert-banner.alert-warning .alert-banner-title {
    color: #92400e;
}

.alert-banner.alert-warning .alert-banner-text {
    color: #a16207;
}

.alert-banner.alert-warning .alert-banner-text strong {
    color: #92400e;
}

/* Error Banner */
.alert-banner.alert-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border-color: rgba(239, 68, 68, 0.25);
}

.alert-banner.alert-error .alert-banner-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.alert-banner.alert-error .alert-banner-title {
    color: #991b1b;
}

.alert-banner.alert-error .alert-banner-text {
    color: #b91c1c;
}

.alert-banner.alert-error .alert-banner-text strong {
    color: #991b1b;
}

/* Alert Banner Responsive */
@media (max-width: 768px) {
    .alert-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }

    .alert-banner-icon {
        margin: 0 auto;
    }

    .alert-banner-content {
        align-items: center;
    }
}

/* Legacy support - tracking-info-banner maps to alert-info */
.tracking-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 16px;
}

.info-banner-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.info-banner-icon i {
    font-size: 22px;
    color: white;
}

.info-banner-text {
    flex: 1;
}

.info-banner-text p {
    font-size: 14px;
    color: #4338ca;
    line-height: 1.6;
    margin: 0;
}

.info-banner-text strong {
    color: #3730a3;
    font-weight: 600;
}

/* Tracking Provider Card */
.tracking-provider-card {
    overflow: hidden;
}

.tracking-provider-card .card-header {
    padding: 16px 20px;
}

.tracking-provider-card .card-title i {
    font-size: 24px;
}

/* Card Badge Variants */
.card-badge-success {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.15) 0%, rgba(56, 161, 105, 0.15) 100%);
    color: #22543d;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.card-badge-success i {
    font-size: 14px;
    color: #48bb78;
}

.card-badge-muted {
    background: linear-gradient(135deg, rgba(160, 174, 192, 0.15) 0%, rgba(160, 174, 192, 0.2) 100%);
    color: #718096;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.card-badge-muted i {
    font-size: 14px;
    color: #a0aec0;
}

/* Tracking Form Styles */
.tracking-provider-form .card-body {
    padding: 20px;
}

.tracking-form-row {
    margin-bottom: 20px;
}

.tracking-form-row:last-child {
    margin-bottom: 0;
}

.tracking-form-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.tracking-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.tracking-form-toggle .tracking-label {
    margin-bottom: 0;
}

.tracking-label i {
    font-size: 18px;
    color: #667eea;
}

.tracking-input-wrapper {
    position: relative;
}

.tracking-input-wrapper input[type="text"],
.tracking-input-wrapper input[type="password"],
.tracking-input-wrapper textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    color: #2d3748;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tracking-input-wrapper input[type="text"]:hover,
.tracking-input-wrapper input[type="password"]:hover,
.tracking-input-wrapper textarea:hover {
    border-color: #cbd5e0;
    background: #fff;
}

.tracking-input-wrapper input[type="text"]:focus,
.tracking-input-wrapper input[type="password"]:focus,
.tracking-input-wrapper textarea:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.tracking-input-wrapper input::placeholder {
    color: #a0aec0;
}

.tracking-input-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: #718096;
}

.tracking-input-hint i {
    font-size: 14px;
    color: #a0aec0;
}

.tracking-field-error {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 13px;
    color: #e53e3e;
}

.tracking-field-error i {
    font-size: 16px;
}

/* Switch inside tracking form */
.tracking-provider-form .switch {
    flex-shrink: 0;
}

.tracking-provider-form .switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

/* Card Footer in Tracking */
.tracking-provider-form .card-footer {
    border-top: 1px solid #f1f5f9;
    padding: 16px 20px;
    background: #fafbfc;
}

.tracking-provider-form .btn-card-edit {
    width: 100%;
}

/* Responsive Tracking */
@media (max-width: 768px) {
    .tracking-info-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }

    .info-banner-icon {
        margin: 0 auto;
    }

    .tracking-form-toggle {
        padding: 12px 14px;
    }

    .tracking-label {
        font-size: 13px;
    }

    .tracking-input-wrapper input[type="text"],
    .tracking-input-wrapper input[type="password"],
    .tracking-input-wrapper textarea {
        padding: 10px 14px;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }
}

/* ============================================
   UTM TRAFFIC SOURCES SECTION
   ============================================ */

.analytics-utm-section {
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.utm-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 24px;
}

.utm-section-title i {
    font-size: 24px;
    color: #667eea;
}

.utm-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.utm-table-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.utm-table-container h4 {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

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

.utm-table thead tr {
    background: rgba(102, 126, 234, 0.05);
}

.utm-table th {
    padding: 10px 12px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.utm-table th:last-child {
    text-align: right;
}

.utm-table td {
    padding: 12px;
    font-size: 14px;
    color: #2d3748;
    border-top: 1px solid #e2e8f0;
}

.utm-table td:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.utm-table td:first-child i {
    font-size: 18px;
}

.utm-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: #667eea;
}

.utm-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.03);
}

@media (max-width: 768px) {
    .analytics-utm-section {
        padding: 20px;
        margin-top: 24px;
    }

    .utm-section-title {
        font-size: 18px;
    }

    .utm-tables {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .utm-table-container {
        padding: 16px;
    }

    .utm-table th,
    .utm-table td {
        padding: 10px 8px;
        font-size: 13px;
    }
}

/* ============================================
   CUSTOM DOMAIN CONFIGURATION
   ============================================ */

/* Domain Status Card */
.domain-status-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border-radius: 14px;
    border: 2px solid;
    transition: all 0.3s ease;
}

.domain-status-card.status-active {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #10b981;
}

.domain-status-card.status-pending {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #f59e0b;
}

.domain-status-card.status-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border-color: #ef4444;
}

.domain-status-card.status-none {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: #e2e8f0;
}

.domain-status-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.domain-status-icon i {
    font-size: 28px;
}

.status-active .domain-status-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.status-active .domain-status-icon i {
    color: white;
}

.status-pending .domain-status-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.status-pending .domain-status-icon i {
    color: white;
}

.status-error .domain-status-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.status-error .domain-status-icon i {
    color: white;
}

.status-none .domain-status-icon {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.status-none .domain-status-icon i {
    color: white;
}

.domain-status-content {
    flex: 1;
}

.domain-status-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.domain-status-value {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    word-break: break-all;
}

.domain-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.domain-status-badge.badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.domain-status-badge.badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.domain-status-badge.badge-error {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.domain-status-badge.badge-none {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
}

.btn-domain-visit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}

.btn-domain-visit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-domain-visit i {
    font-size: 18px;
}

/* Domain Error Message */
.domain-error-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    margin-bottom: 24px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #991b1b;
    font-size: 14px;
    line-height: 1.5;
}

.domain-error-message i {
    font-size: 20px;
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 2px;
}

/* DNS Instructions Card */
.dns-instructions-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 24px;
    overflow: hidden;
}

.dns-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-bottom: 1px solid #e2e8f0;
}

.dns-header i {
    font-size: 24px;
    color: #667eea;
}

.dns-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.dns-content {
    padding: 20px;
}

.dns-content>p {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* DNS Record Table */
.dns-record-table {
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 16px;
}

.dns-record-row {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 12px;
    padding: 14px 16px;
    align-items: center;
}

.dns-record-row.dns-record-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 16px;
}

.dns-record-row:not(.dns-record-header) {
    border-top: 1px solid #e2e8f0;
}

.dns-record-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
}

.dns-record-name {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

.dns-record-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dns-record-value code {
    display: inline-block;
    padding: 8px 14px;
    background: #1e293b;
    color: #10b981;
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    word-break: break-all;
}

.btn-copy-dns {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    color: #667eea;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.btn-copy-dns:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.btn-copy-dns.copied {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    color: white;
}

.btn-copy-dns i {
    font-size: 18px;
}

/* DNS Notes */
.dns-notes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dns-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.dns-note i {
    font-size: 16px;
    color: #667eea;
    flex-shrink: 0;
    margin-top: 2px;
}

.dns-note strong {
    color: #2d3748;
}

/* Instructions Accordion */
.instructions-accordion {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
}

.accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.25s ease;
}

.accordion-toggle:hover {
    background: rgba(102, 126, 234, 0.05);
    color: #667eea;
}

.accordion-toggle span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-toggle span i {
    font-size: 20px;
    color: #667eea;
}

.accordion-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.instructions-accordion.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.instructions-accordion.open .accordion-content {
    max-height: 500px;
}

.instructions-text {
    padding: 0 20px 20px;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.7;
}

.instructions-text p {
    margin-bottom: 12px;
}

/* Domain Actions */
.domain-actions {
    gap: 16px;
}

.btn-remove-domain {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.btn-remove-domain:hover {
    background: #fee2e2;
    color: #b91c1c;
}

/* Verify Card */
.verify-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    margin-top: 24px;
}

.verify-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
}

.verify-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 4px 0;
}

.verify-text p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.btn-verify {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    font-family: inherit;
    flex-shrink: 0;
}

.btn-verify:hover:not(:disabled) {
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45);
    transform: translateY(-2px);
}

.btn-verify:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-verify i {
    font-size: 20px;
}

/* Verify Result */
.verify-result {
    padding: 20px 24px;
    border-top: 1px solid #f1f5f9;
}

.verify-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 14px;
}

.verify-loading i {
    font-size: 20px;
    color: #667eea;
}

.verify-result.success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.verify-result.pending {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.verify-result.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.verify-message {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.verify-message>i {
    font-size: 28px;
    flex-shrink: 0;
}

.verify-result.success .verify-message>i {
    color: #10b981;
}

.verify-result.pending .verify-message>i {
    color: #f59e0b;
}

.verify-result.error .verify-message>i {
    color: #ef4444;
}

.verify-message strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.verify-result.success .verify-message strong {
    color: #059669;
}

.verify-result.pending .verify-message strong {
    color: #d97706;
}

.verify-result.error .verify-message strong {
    color: #dc2626;
}

.verify-message p {
    font-size: 14px;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.verify-result.success .verify-message p {
    color: #065f46;
}

.verify-result.pending .verify-message p {
    color: #92400e;
}

.verify-result.error .verify-message p {
    color: #991b1b;
}

.verify-hint {
    font-size: 13px !important;
    opacity: 0.8;
}

.verify-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #059669;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.verify-link:hover {
    color: #047857;
    text-decoration: underline;
}

.verify-link i {
    font-size: 16px;
}

/* Responsive Custom Domain */
@media (max-width: 768px) {
    .domain-status-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .domain-status-content {
        width: 100%;
    }

    .btn-domain-visit {
        width: 100%;
        justify-content: center;
    }

    .dns-record-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dns-record-row.dns-record-header {
        display: none;
    }

    .dns-record-row:not(.dns-record-header) {
        padding: 16px;
    }

    .dns-record-row:not(.dns-record-header)::before {
        content: none;
    }

    .dns-record-type {
        justify-self: start;
    }

    .dns-record-name::before {
        content: "Имя: ";
        font-weight: 400;
        color: #64748b;
    }

    .dns-record-value {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .dns-record-value code {
        width: 100%;
        text-align: center;
    }

    .btn-copy-dns {
        width: 100%;
        height: 44px;
    }

    .verify-content {
        flex-direction: column;
        text-align: center;
    }

    .btn-verify {
        width: 100%;
        justify-content: center;
    }

    .verify-message {
        flex-direction: column;
        text-align: center;
    }

    .domain-actions {
        flex-direction: column;
    }
}

/* Custom Domain Card in Landing Detail */
.custom-domain-card {
    background: white;
}

.custom-domain-card .card-title i {
    color: #667eea;
}

.btn-card-domain {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.btn-card-domain:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    color: white;
}

.btn-card-domain i {
    font-size: 18px;
}

/* ============================================
   CUSTOM DOMAIN STYLES
   ============================================ */

/* Domain Status Card */
.domain-status-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border-radius: 14px;
    border: 2px solid;
}

.domain-status-card.status-active {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #10b981;
}

.domain-status-card.status-pending {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #f59e0b;
}

.domain-status-card.status-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border-color: #ef4444;
}

.domain-status-card.status-none {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: #e2e8f0;
}

.domain-status-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.domain-status-icon i {
    font-size: 28px;
}

.status-active .domain-status-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.status-active .domain-status-icon i {
    color: white;
}

.status-pending .domain-status-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.status-pending .domain-status-icon i {
    color: white;
}

.status-error .domain-status-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.status-error .domain-status-icon i {
    color: white;
}

.status-none .domain-status-icon {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.status-none .domain-status-icon i {
    color: white;
}

.domain-status-content {
    flex: 1;
}

.domain-status-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.domain-status-value {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.domain-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.domain-status-badge.badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: #065f46;
}

.domain-status-badge.badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #92400e;
}

.domain-status-badge.badge-error {
    background: rgba(239, 68, 68, 0.15);
    color: #991b1b;
}

.domain-status-badge.badge-none {
    background: rgba(100, 116, 139, 0.15);
    color: #475569;
}

.btn-domain-visit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}

.btn-domain-visit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-domain-visit i {
    font-size: 18px;
}

/* Domain Error Message */
.domain-error-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    color: #991b1b;
    font-size: 14px;
    line-height: 1.5;
}

.domain-error-message i {
    font-size: 20px;
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 2px;
}

/* DNS Instructions Card */
.dns-instructions-card {
    margin-bottom: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.dns-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-bottom: 1px solid #e2e8f0;
}

.dns-header i {
    font-size: 24px;
    color: #667eea;
}

.dns-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.dns-content {
    padding: 20px;
}

.dns-content>p {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* DNS Record Table */
.dns-record-table {
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 20px;
}

.dns-record-row {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 12px;
    padding: 14px 16px;
    align-items: center;
}

.dns-record-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dns-record-row:not(.dns-record-header) {
    border-top: 1px solid #e2e8f0;
}

.dns-record-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
}

.dns-record-name {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

.dns-record-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dns-record-value code {
    flex: 1;
    padding: 10px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    font-size: 13px;
    color: #1e293b;
    word-break: break-all;
}

.btn-copy-dns {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.btn-copy-dns:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-copy-dns.copied {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-copy-dns i {
    font-size: 18px;
}

/* DNS Notes */
.dns-notes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dns-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    color: #4a5568;
    line-height: 1.5;
}

.dns-note i {
    font-size: 18px;
    color: #667eea;
    flex-shrink: 0;
    margin-top: 1px;
}

.dns-note strong {
    color: #2d3748;
}

/* Instructions Accordion */
.instructions-accordion {
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.25s ease;
}

.accordion-toggle:hover {
    background: #f1f5f9;
    color: #2d3748;
}

.accordion-toggle span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-toggle span i {
    font-size: 20px;
    color: #667eea;
}

.accordion-icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.instructions-accordion.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.instructions-accordion.open .accordion-content {
    max-height: 1000px;
}

.instructions-text {
    padding: 20px;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.8;
    border-top: 1px solid #e2e8f0;
    white-space: pre-wrap;
}

/* Domain Actions */
.domain-actions {
    gap: 16px;
}

.btn-remove-domain {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-remove-domain:hover {
    background: linear-gradient(135deg, #fca5a5 0%, #f87171 100%);
    color: #7f1d1d;
}

/* Verify Card */
.verify-card {
    margin-top: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.verify-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
}

.verify-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 6px 0;
}

.verify-text p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.btn-verify {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    flex-shrink: 0;
}

.btn-verify:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45);
}

.btn-verify:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-verify i {
    font-size: 20px;
}

/* Verify Result */
.verify-result {
    padding: 20px 24px;
    border-top: 1px solid #f1f5f9;
}

.verify-result.success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.verify-result.pending {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.verify-result.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.verify-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #64748b;
}

.verify-loading i {
    font-size: 20px;
    color: #667eea;
}

.verify-message {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.verify-message>i {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.verify-result.success .verify-message>i {
    color: #10b981;
}

.verify-result.pending .verify-message>i {
    color: #f59e0b;
}

.verify-result.error .verify-message>i {
    color: #ef4444;
}

.verify-message strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.verify-result.success .verify-message strong {
    color: #065f46;
}

.verify-result.pending .verify-message strong {
    color: #92400e;
}

.verify-result.error .verify-message strong {
    color: #991b1b;
}

.verify-message p {
    font-size: 14px;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.verify-result.success .verify-message p {
    color: #047857;
}

.verify-result.pending .verify-message p {
    color: #a16207;
}

.verify-result.error .verify-message p {
    color: #b91c1c;
}

.verify-hint {
    font-size: 13px !important;
    opacity: 0.8;
}

.verify-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #059669;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.verify-link:hover {
    color: #047857;
    text-decoration: underline;
}

.verify-link i {
    font-size: 16px;
}

/* Responsive Custom Domain */
@media (max-width: 768px) {
    .domain-status-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px;
    }

    .domain-status-icon {
        margin: 0 auto;
    }

    .btn-domain-visit {
        width: 100%;
        justify-content: center;
    }

    .dns-record-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .dns-record-header {
        display: none;
    }

    .dns-record-type {
        margin: 0 auto;
    }

    .dns-record-value {
        flex-direction: column;
    }

    .dns-record-value code {
        text-align: center;
    }

    .btn-copy-dns {
        margin: 0 auto;
    }

    .verify-content {
        flex-direction: column;
        text-align: center;
    }

    .btn-verify {
        width: 100%;
        justify-content: center;
    }

    .verify-message {
        flex-direction: column;
        text-align: center;
    }

    .verify-message>i {
        margin: 0 auto;
    }
}

/* ============================================
   CUSTOM DOMAIN CONFIGURATION
   ============================================ */

/* Domain Status Card */
.domain-status-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 24px;
    border: 2px solid;
}

.domain-status-card.status-active {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.domain-status-card.status-pending {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: rgba(245, 158, 11, 0.3);
}

.domain-status-card.status-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.domain-status-card.status-none {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: #e2e8f0;
}

.domain-status-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.domain-status-icon i {
    font-size: 28px;
}

.status-active .domain-status-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.status-active .domain-status-icon i {
    color: white;
}

.status-pending .domain-status-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.status-pending .domain-status-icon i {
    color: white;
}

.status-error .domain-status-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.status-error .domain-status-icon i {
    color: white;
}

.status-none .domain-status-icon {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

.status-none .domain-status-icon i {
    color: white;
}

.domain-status-content {
    flex: 1;
}

.domain-status-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.domain-status-value {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    word-break: break-all;
}

.domain-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.badge-error {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.badge-none {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
}

.btn-domain-visit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-domain-visit:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: white;
}

.domain-error-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #b91c1c;
}

.domain-error-message i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* DNS Instructions Card */
.dns-instructions-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 24px;
    overflow: hidden;
}

.dns-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-bottom: 1px solid #e2e8f0;
}

.dns-header i {
    font-size: 22px;
    color: #667eea;
}

.dns-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.dns-content {
    padding: 20px;
}

.dns-content>p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 16px;
}

.dns-record-table {
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 16px;
}

.dns-record-row {
    display: grid;
    grid-template-columns: 80px 120px 1fr;
    padding: 12px 16px;
    align-items: center;
    gap: 12px;
}

.dns-record-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dns-record-row:not(.dns-record-header) {
    border-top: 1px solid #e2e8f0;
}

.dns-record-type {
    display: inline-flex;
    padding: 4px 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
}

.dns-record-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.dns-record-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dns-record-value code {
    flex: 1;
    padding: 8px 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    color: #1e293b;
    word-break: break-all;
}

.btn-copy-dns {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #e2e8f0;
    border: none;
    border-radius: 8px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-copy-dns:hover {
    background: #667eea;
    color: white;
}

.btn-copy-dns.copied {
    background: #10b981;
    color: white;
}

.btn-copy-dns i {
    font-size: 18px;
}

.dns-notes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dns-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.dns-note i {
    font-size: 16px;
    color: #94a3b8;
    flex-shrink: 0;
    margin-top: 1px;
}

.dns-note strong {
    color: #475569;
}

/* Instructions Accordion */
.instructions-accordion {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
}

.accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.accordion-toggle:hover {
    background: #f8fafc;
}

.accordion-toggle span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.accordion-toggle span i {
    font-size: 20px;
    color: #667eea;
}

.accordion-icon {
    font-size: 20px;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.instructions-accordion.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.instructions-accordion.open .accordion-content {
    max-height: 500px;
}

.instructions-text {
    padding: 0 20px 20px;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

/* Verify Card */
.verify-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.verify-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.verify-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.verify-text p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.btn-verify {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    font-family: inherit;
}

.btn-verify:hover:not(:disabled) {
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-verify:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-verify i {
    font-size: 20px;
}

.verify-result {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    animation: fadeIn 0.3s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.verify-result.success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.verify-result.pending {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.verify-result.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.verify-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #667eea;
}

.verify-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.verify-message>i {
    font-size: 24px;
    flex-shrink: 0;
}

.verify-result.success .verify-message>i {
    color: #10b981;
}

.verify-result.pending .verify-message>i {
    color: #f59e0b;
}

.verify-result.error .verify-message>i {
    color: #ef4444;
}

.verify-message strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.verify-result.success .verify-message strong {
    color: #065f46;
}

.verify-result.pending .verify-message strong {
    color: #92400e;
}

.verify-result.error .verify-message strong {
    color: #991b1b;
}

.verify-message p {
    font-size: 14px;
    margin: 0 0 8px 0;
}

.verify-result.success .verify-message p {
    color: #047857;
}

.verify-result.pending .verify-message p {
    color: #a16207;
}

.verify-result.error .verify-message p {
    color: #b91c1c;
}

.verify-hint {
    font-size: 13px !important;
    font-style: italic;
    opacity: 0.8;
}

.verify-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #059669;
    text-decoration: none;
    transition: color 0.2s ease;
}

.verify-link:hover {
    color: #047857;
    text-decoration: underline;
}

/* Domain Actions */
.domain-actions {
    flex-wrap: wrap;
}

.btn-remove-domain {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.btn-remove-domain:hover {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

/* Domain Card in Landing Detail */
.domain-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.domain-card .card-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.domain-card .card-title i {
    color: #667eea;
}

.domain-preview-url {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
}

.domain-preview-url i {
    font-size: 16px;
    color: #64748b;
}

.domain-preview-url span {
    flex: 1;
    font-size: 14px;
    color: #1e293b;
    word-break: break-all;
}

.domain-preview-url a {
    color: #667eea;
    text-decoration: none;
    font-size: 16px;
}

.domain-preview-url a:hover {
    color: #5568d3;
}

.premium-domain-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #5c4813;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.premium-domain-badge i {
    font-size: 14px;
}

/* Responsive Custom Domain */
@media (max-width: 768px) {
    .domain-status-card {
        flex-direction: column;
        text-align: center;
    }

    .btn-domain-visit {
        width: 100%;
        justify-content: center;
    }

    .dns-record-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dns-record-header {
        display: none;
    }

    .dns-record-row:not(.dns-record-header) {
        padding: 16px;
    }

    .dns-record-type {
        width: fit-content;
    }

    .dns-record-name::before {
        content: "Имя: ";
        font-weight: 600;
        color: #64748b;
    }

    .dns-record-value {
        flex-direction: column;
        align-items: stretch;
    }

    .dns-record-value::before {
        content: "Значение:";
        font-weight: 600;
        color: #64748b;
        font-size: 12px;
    }

    .btn-copy-dns {
        align-self: flex-end;
    }

    .verify-content {
        flex-direction: column;
        text-align: center;
    }

    .btn-verify {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   PREMIUM FEATURE INDICATORS
   ============================================ */

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #5c4813;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.3);
    margin-left: 8px;
}

.premium-badge i {
    font-size: 12px;
}

.premium-feature-disabled {
    opacity: 0.7;
    position: relative;
}

.premium-feature-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    border: 1px solid #ffd89b;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #8b6914;
}

.premium-feature-notice i {
    font-size: 18px;
    color: #ff9800;
    flex-shrink: 0;
}

.premium-feature-notice a {
    color: #d97706;
    font-weight: 600;
    text-decoration: underline;
}

.premium-feature-notice a:hover {
    color: #b45309;
}

.field-disabled {
    background-color: #f7fafc !important;
    color: #a0aec0 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.field-disabled:focus {
    border-color: #e2e8f0 !important;
    box-shadow: none !important;
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
}

.form-section-title i {
    font-size: 20px;
    color: #667eea;
}

.form-section-description {
    font-size: 13px;
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.5;
}

.premium-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    color: #ff9800;
    font-size: 14px;
}

.premium-feature-notice-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    border: 1px solid #ffd89b;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 12px;
    color: #8b6914;
}

.premium-feature-notice-card i {
    font-size: 16px;
    color: #ff9800;
    flex-shrink: 0;
}