/**
 * Feature Voting Component - Premium Styles
 * @package     Feature Voting
 * @copyright   Copyright (C) 2025 CustomCart. All rights reserved.
 */

/* UIkit Notification Override - Ensure notifications appear above everything */
.uk-notification {
    z-index: 999999 !important;
}

.uk-notification-message {
    z-index: 999999 !important;
}

:root {
    --fv-primary: #36b9c1;
    --fv-primary-dark: #2a9aa1;
    --fv-secondary: #10b981;
    --fv-warning: #f59e0b;
    --fv-danger: #ef4444;
    --fv-info: #3b82f6;
    --fv-success: #10b981;
    --fv-light: #f9fafb;
    --fv-dark: #111827;
    --fv-gray-50: #f9fafb;
    --fv-gray-100: #f3f4f6;
    --fv-gray-200: #e5e7eb;
    --fv-gray-300: #d1d5db;
    --fv-gray-400: #9ca3af;
    --fv-gray-500: #6b7280;
    --fv-gray-600: #4b5563;
    --fv-gray-700: #374151;
    --fv-gray-800: #1f2937;
    --fv-gray-900: #111827;
    --fv-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --fv-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --fv-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --fv-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --fv-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --fv-border-radius: 12px;
    --fv-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container */
.feature-voting-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Hero Section */
.fv-hero {
    background: linear-gradient(135deg, var(--fv-primary) 0%, var(--fv-primary-dark) 100%);
    border-radius: var(--fv-border-radius);
    padding: 2rem 2rem;
    margin-bottom: 1.25rem;
    color: white;
    text-align: center;
    box-shadow: var(--fv-shadow-lg);
}

.fv-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.fv-hero-icon {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.fv-hero-icon i {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fv-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.fv-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 400;
}

/* Credits Card */
.fv-credits-card {
    background: white;
    border-radius: var(--fv-border-radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--fv-shadow-lg);
    border: 1px solid var(--fv-gray-200);
    padding-bottom: 1px;
}

.fv-credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.fv-credit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--fv-gray-50);
    transition: var(--fv-transition);
}

.fv-credit-item:hover {
    background: var(--fv-gray-100);
    transform: translateY(-2px);
}

.fv-credit-item.fv-highlight {
    background: linear-gradient(135deg, rgba(54, 185, 193, 0.1) 0%, rgba(42, 154, 161, 0.1) 100%);
    border: 2px solid var(--fv-primary);
}

.fv-credit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fv-icon-total {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.fv-icon-used {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.fv-icon-available {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.fv-credit-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.fv-credit-label {
    font-size: 0.875rem;
    color: var(--fv-gray-600);
    font-weight: 500;
}

.fv-credit-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--fv-gray-900);
    line-height: 1;
}

/* Alerts */
.fv-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--fv-border-radius);
    margin-bottom: 2rem;
    font-weight: 500;
}

.fv-alert svg {
    flex-shrink: 0;
}

.fv-alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.fv-alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Search and Filter Bar */
.fv-search-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: #e9e9e9;
    border-radius: var(--fv-border-radius);
    box-shadow: var(--fv-shadow);
    border: 1px solid var(--fv-gray-200);
    margin-top: 24px;
}

.fv-search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.fv-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fv-gray-400);
    pointer-events: none;
}

.fv-search-input {
    width: 100%;
    padding: 0.625rem 2.75rem 0.625rem 2.5rem;
    border: 2px solid var(--fv-gray-300);
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: var(--fv-transition);
    background: white;
}

.fv-search-input:focus {
    outline: none;
    border-color: var(--fv-primary);
    box-shadow: 0 0 0 3px rgba(54, 185, 193, 0.1);
}

.fv-clear-search {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: var(--fv-gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--fv-transition);
    color: var(--fv-gray-600);
}

.fv-clear-search:hover {
    background: var(--fv-gray-300);
    color: var(--fv-gray-900);
}

.fv-filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.fv-filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--fv-gray-300);
    background: white;
    color: var(--fv-gray-700);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--fv-transition);
    white-space: nowrap;
}

.fv-filter-btn:hover {
    border-color: var(--fv-primary);
    color: var(--fv-primary);
    background: rgba(54, 185, 193, 0.05);
}

.fv-filter-btn.fv-filter-active {
    border-color: var(--fv-primary);
    background: var(--fv-primary);
    color: white;
}

.fv-filter-btn.fv-filter-active:hover {
    background: var(--fv-primary-dark);
}

/* Search Highlight */
.fv-highlight {
    background: rgba(255, 235, 59, 0.5);
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

/* Features Grid */
.fv-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Feature Card */
.fv-feature-card {
    background: white;
    border-radius: var(--fv-border-radius);
    padding: 1.5rem;
    box-shadow: var(--fv-shadow);
    border: 2px solid var(--fv-gray-200);
    transition: var(--fv-transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fv-feature-card:hover {
    box-shadow: var(--fv-shadow-xl);
    transform: translateY(-4px);
    border-color: var(--fv-primary);
}

.fv-feature-card.fv-locked {
    border-color: var(--fv-warning);
    background: linear-gradient(to bottom, white 0%, rgba(245, 158, 11, 0.02) 100%);
}

.fv-feature-card.fv-completed {
    border-color: var(--fv-success);
    background: linear-gradient(to bottom, white 0%, rgba(16, 185, 129, 0.02) 100%);
    opacity: 0.85;
}


/* Feature Status */
.fv-feature-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.fv-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fv-badge.fv-status-pending {
    background: var(--fv-gray-100);
    color: var(--fv-gray-700);
}

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

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

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

.fv-vote-count {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--fv-primary);
    color: white;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Feature Content */
.fv-feature-content {
    flex: 1;
}

.fv-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fv-gray-900);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.fv-feature-description {
    font-size: 0.9375rem;
    color: var(--fv-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Vote Controls */
.fv-vote-controls {
    border-top: 1px solid var(--fv-gray-200);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fv-vote-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.fv-vote-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid var(--fv-primary);
    background: white;
    color: var(--fv-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--fv-transition);
    flex-shrink: 0;
}

.fv-vote-btn:hover:not(:disabled) {
    background: var(--fv-primary);
    color: white;
    transform: scale(1.05);
}

.fv-vote-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.fv-vote-input {
    width: 80px;
    height: 48px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    border: 2px solid var(--fv-gray-300);
    border-radius: 8px;
    color: var(--fv-gray-900);
    transition: var(--fv-transition);
}

.fv-vote-input:focus {
    outline: none;
    border-color: var(--fv-primary);
    box-shadow: 0 0 0 3px rgba(54, 185, 193, 0.1);
}

.fv-current-vote {
    text-align: center;
    font-size: 0.875rem;
    color: var(--fv-gray-600);
}

.fv-current-vote strong {
    color: var(--fv-primary);
    font-weight: 700;
}

/* Minimum Locked Indicator */
.fv-minimum-locked-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 2px 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--fv-danger);
    font-weight: 600;
}

.fv-minimum-locked-indicator svg {
    width: 12px;
    height: 12px;
}

/* Locked Vote */
.fv-vote-locked {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    color: var(--fv-warning);
    font-size: 0.875rem;
    font-weight: 500;
}

.fv-locked-votes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--fv-gray-100);
    border-radius: 8px;
}

.fv-your-vote-label {
    font-size: 0.875rem;
    color: var(--fv-gray-600);
}

.fv-locked-vote-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fv-gray-900);
}

/* Completed Message */
.fv-completed-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    color: var(--fv-success);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Rejected Message */
.fv-rejected-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    color: var(--fv-danger);
    font-size: 0.875rem;
    font-weight: 500;
}

.fv-feature-card.fv-rejected {
    border-color: var(--fv-danger);
    background: linear-gradient(to bottom, white 0%, rgba(239, 68, 68, 0.02) 100%);
    opacity: 0.85;
}

/* Save Section */
.fv-save-section {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.fv-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--fv-primary) 0%, var(--fv-primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--fv-border-radius);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--fv-transition);
    box-shadow: var(--fv-shadow-md);
}

.fv-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--fv-shadow-xl);
}

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

/* No Features */
.fv-no-features {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--fv-gray-500);
}

.fv-no-features svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.fv-no-features p {
    font-size: 1.125rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-voting-container {
        padding: 1rem 0.75rem;
    }

    .fv-hero {
        padding: 2rem 1.5rem;
    }

    .fv-title {
        font-size: 2rem;
    }

    .fv-subtitle {
        font-size: 1rem;
    }

    .fv-search-filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
    }

    .fv-search-box {
        max-width: none;
        width: 100%;
    }

    .fv-filter-buttons {
        justify-content: center;
        width: 100%;
    }

    .fv-filter-btn {
        flex: 1;
        min-width: 0;
        padding: 0.5rem 0.5rem;
        font-size: 0.8125rem;
    }

    .fv-credits-card {
        padding: 1.5rem;
    }

    .fv-credits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .fv-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

@media (max-width: 480px) {
    .fv-title {
        font-size: 1.75rem;
    }

    .fv-credit-value {
        font-size: 1.5rem;
    }

    .fv-feature-card {
        padding: 1.25rem;
    }
}

/* Animations */
@keyframes flashIncrease {
    0% {
        background-color: white;
    }
    30% {
        background-color: rgba(54, 185, 193, 0.2);
    }
    100% {
        background-color: white;
    }
}

@keyframes flashDecrease {
    0% {
        background-color: white;
    }
    30% {
        background-color: rgba(239, 68, 68, 0.15);
    }
    100% {
        background-color: white;
    }
}

.fv-feature-card.fv-flash-increase {
    animation: flashIncrease 0.4s ease-in-out;
}

.fv-feature-card.fv-flash-decrease {
    animation: flashDecrease 0.4s ease-in-out;
}

/* Action Cards Row */
.fv-action-cards {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Suggest New Feature Card (2/3) */
.fv-suggest-feature-card {
    background: linear-gradient(135deg, var(--fv-primary) 0%, var(--fv-primary-dark) 100%);
    border-radius: var(--fv-border-radius);
    padding: 2.5rem;
    box-shadow: var(--fv-shadow-lg);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: var(--fv-transition);
    color: white;
}

.fv-suggest-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fv-shadow-xl);
}

.fv-suggest-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--fv-transition);
}

.fv-suggest-feature-card:hover .fv-suggest-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.fv-suggest-content {
    flex: 1;
}

.fv-suggest-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: white;
}

.fv-suggest-description {
    font-size: 1rem;
    margin: 0 0 1.25rem;
    opacity: 0.95;
    color: white;
    line-height: 1.6;
}

.fv-suggest-btn {
    background: white;
    color: var(--fv-primary);
    border: none;
    border-radius: 8px;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--fv-transition);
    box-shadow: var(--fv-shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
}

.fv-suggest-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--fv-shadow-lg);
    background: var(--fv-gray-50);
}

.fv-suggest-btn svg {
    flex-shrink: 0;
}

/* Buy More Votes Card (1/3) */
.fv-buy-votes-card {
    background: white;
    border-radius: var(--fv-border-radius);
    padding: 2rem;
    box-shadow: var(--fv-shadow-lg);
    border: 2px solid var(--fv-gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: var(--fv-transition);
}

.fv-buy-votes-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fv-shadow-xl);
    border-color: var(--fv-primary);
}

.fv-buy-votes-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fv-primary) 0%, var(--fv-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.fv-buy-votes-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.fv-buy-votes-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--fv-gray-900);
}

.fv-buy-votes-description {
    font-size: 0.875rem;
    margin: 0;
    color: var(--fv-gray-600);
}

.fv-buy-votes-btn {
    background: linear-gradient(135deg, var(--fv-primary) 0%, var(--fv-primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--fv-transition);
    box-shadow: var(--fv-shadow-sm);
}

.fv-buy-votes-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--fv-shadow-md);
}

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

    .fv-suggest-feature-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .fv-suggest-title {
        font-size: 1.25rem;
    }

    .fv-suggest-description {
        font-size: 0.9375rem;
    }
}

/* Modal Styles */
.fv-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.fv-modal.fv-modal-open {
    display: block;
}

.fv-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    animation: fadeIn 0.2s ease-out;
}

.fv-modal-content {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
    background: white;
    border-radius: var(--fv-border-radius);
    box-shadow: var(--fv-shadow-xl);
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

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

.fv-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--fv-gray-100);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fv-gray-600);
    transition: var(--fv-transition);
    z-index: 10;
}

.fv-modal-close:hover {
    background: var(--fv-gray-200);
    color: var(--fv-gray-900);
}

.fv-modal-header {
    padding: 2.5rem 3rem 1.5rem;
    border-bottom: 1px solid var(--fv-gray-200);
}

.fv-modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--fv-gray-900);
}

.fv-modal-header p {
    font-size: 1rem;
    color: var(--fv-gray-600);
    margin: 0;
}

.fv-modal-body {
    padding: 2rem 3rem 3rem;
}

.fv-vote-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.fv-vote-package {
    position: relative;
    background: white;
    border: 2px solid var(--fv-gray-200);
    border-radius: var(--fv-border-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--fv-transition);
}

.fv-vote-package:hover {
    border-color: var(--fv-primary);
    transform: translateY(-4px);
    box-shadow: var(--fv-shadow-lg);
}

.fv-vote-package.fv-package-popular {
    border: 2px solid #36b9c1;
}

.fv-package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--fv-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.fv-package-header {
    text-align: center;
}

.fv-package-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--fv-gray-900);
}

.fv-package-votes {
    font-size: 2rem;
    font-weight: 800;
    color: var(--fv-primary);
}

.fv-package-votes:first-of-type {
    margin-bottom: 10px;
}

.fv-package-bonus {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--fv-success);
    margin-top: -20px;
    text-transform: uppercase;
    font-family: sans-serif;
}

.fv-package-description {
    font-size: 0.8125rem;
    color: var(--fv-gray-600);
    margin-top: 0.75rem;
    line-height: 1.5;
    text-align: center;
}

.fv-package-price {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid var(--fv-gray-200);
    border-bottom: 1px solid var(--fv-gray-200);
}

.fv-price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--fv-gray-900);
}

.fv-price-currency {
    font-size: 0.875rem;
    color: var(--fv-gray-600);
    margin-left: 0.25rem;
}

.fv-package-btn {
    background: var(--fv-primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--fv-transition);
    margin-top: auto;
}

.fv-package-btn:hover {
    background: var(--fv-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--fv-shadow-md);
}

.fv-modal-note {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid var(--fv-info);
    border-radius: 8px;
}

.fv-modal-note svg {
    flex-shrink: 0;
    color: var(--fv-info);
    margin-top: 2px;
}

.fv-modal-note p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--fv-gray-700);
    line-height: 1.6;
}

/* Suggest Feature Modal Form */
.fv-modal-suggest {
    max-width: 650px;
}

.fv-form-group {
    margin-bottom: 1.5rem;
}

.fv-form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--fv-gray-900);
    margin-bottom: 0.5rem;
}

.fv-required {
    color: var(--fv-danger);
}

.fv-form-input,
.fv-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--fv-gray-300);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--fv-transition);
}

.fv-form-input:focus,
.fv-form-textarea:focus {
    outline: none;
    border-color: var(--fv-primary);
    box-shadow: 0 0 0 3px rgba(54, 185, 193, 0.1);
}

.fv-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.fv-form-hint {
    font-size: 0.8125rem;
    color: var(--fv-gray-600);
    margin-top: 0.375rem;
}

.fv-form-info {
    display: flex;
    gap: 0.875rem;
    padding: 1.25rem;
    background: rgba(54, 185, 193, 0.05);
    border-left: 3px solid var(--fv-primary);
    border-radius: 8px;
    margin: 1.5rem 0;
}

.fv-form-info svg {
    flex-shrink: 0;
    color: var(--fv-primary);
    margin-top: 2px;
}

.fv-form-info p {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    color: var(--fv-gray-700);
    line-height: 1.5;
}

.fv-form-info p:last-child {
    margin-bottom: 0;
}

.fv-votes-info {
    font-weight: 600;
    color: var(--fv-primary);
}

.fv-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--fv-gray-200);
}

.fv-btn-cancel {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--fv-gray-300);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--fv-gray-700);
    cursor: pointer;
    transition: var(--fv-transition);
}

.fv-btn-cancel:hover {
    background: var(--fv-gray-100);
    border-color: var(--fv-gray-400);
}

.fv-btn-submit {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--fv-primary) 0%, var(--fv-primary-dark) 100%);
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: var(--fv-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--fv-shadow-sm);
}

.fv-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--fv-shadow-md);
}

.fv-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.fv-btn-submit svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .fv-modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }

    .fv-modal-header {
        padding: 2rem 1.5rem 1rem;
    }

    .fv-modal-header h2 {
        font-size: 1.5rem;
    }

    .fv-modal-body {
        padding: 1.5rem;
    }

    .fv-vote-packages {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .fv-vote-controls,
    .fv-save-section,
    .fv-action-cards,
    .fv-modal {
        display: none;
    }
}
