/* Основні змінні для тем */
:root {
    /* Світла тема за замовчуванням */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --accent-color: #007bff;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    
    /* Кольорова схема за замовчуванням - Синій градієнт */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-success: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-warning: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-danger: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    --gradient-info: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --gradient-light: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    --gradient-sunset: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    
    /* Транзиції */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Тіні */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Темна тема */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #404040;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: #404040;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Кольорові схеми */
[data-color-scheme="blue"] {
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

[data-color-scheme="purple"] {
    --gradient-primary: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-secondary: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[data-color-scheme="green"] {
    --gradient-primary: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-secondary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-accent: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

[data-color-scheme="orange"] {
    --gradient-primary: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-secondary: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --gradient-accent: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

[data-color-scheme="red"] {
    --gradient-primary: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    --gradient-secondary: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

[data-color-scheme="teal"] {
    --gradient-primary: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-secondary: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[data-color-scheme="pink"] {
    --gradient-primary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-secondary: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    --gradient-accent: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

[data-color-scheme="yellow"] {
    --gradient-primary: linear-gradient(135deg, #fee140 0%, #fa709a 100%);
    --gradient-secondary: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[data-color-scheme="cyan"] {
    --gradient-primary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-secondary: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-accent: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

[data-color-scheme="indigo"] {
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-accent: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Загальні стилі */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
}

/* Плавний скрол */
html {
    scroll-behavior: smooth;
}

/* Базові стилі для навбара (дублі видалено - стилі перенесено в header.php) */

/* Кнопки */
.btn {
    border-radius: 15px;
    font-weight: 600;
    transition: all var(--transition-fast);
    border: none;
    padding: 0.75rem 1.5rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-warning {
    background: var(--gradient-warning);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-danger {
    background: var(--gradient-danger);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-info {
    background: var(--gradient-info);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-info:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-primary {
    border: 2px solid transparent;
    background: var(--gradient-primary);
    color: white;
    background-clip: padding-box;
}

.btn-outline-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Картки */
.card {
    border: none;
    border-radius: 20px;
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px 20px 0 0 !important;
    border: none;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.card-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
}

.card:hover .card-header::after {
    transform: translateX(100%);
}

/* Форми */
.form-control {
    border-radius: 15px;
    border: 2px solid var(--border-color);
    padding: 1rem 1.25rem;
    transition: all var(--transition-fast);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.3rem rgba(0, 123, 255, 0.15);
    background: var(--bg-primary);
    transform: translateY(-2px);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Алерти */
.alert {
    border-radius: 15px;
    border: none;
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
}

.alert-success {
    background: var(--gradient-success);
    color: white;
}

.alert-danger {
    background: var(--gradient-danger);
    color: white;
}

.alert-warning {
    background: var(--gradient-warning);
    color: white;
}

.alert-info {
    background: var(--gradient-info);
    color: white;
}

/* Тарифи */
.tariff-card {
    background: var(--bg-primary);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tariff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.tariff-card:hover::before {
    opacity: 0.05;
}

.tariff-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.tariff-card.free {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.tariff-card.premium {
    background: var(--gradient-warning);
    color: white;
}

.tariff-card.premium::before {
    background: var(--gradient-warning);
    opacity: 0.1;
}

.popular-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.tariff-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tariff-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.tariff-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.tariff-features li:hover {
    padding-left: 0.5rem;
    color: var(--accent-color);
}

.tariff-features li:last-child {
    border-bottom: none;
}

/* Профіль користувача */
.profile-sidebar {
    background: var(--gradient-primary);
    color: white;
    border-radius: 25px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.profile-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.avatar-wrapper img {
    border: 5px solid white;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.avatar-wrapper:hover img {
    transform: scale(1.05);
}

.tariff-badge .badge {
    font-size: 1.1rem;
    padding: 0.875rem 1.75rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Вкладки профілю */
.profile-tabs .nav-tabs {
    border-bottom: 3px solid var(--border-color);
}

.profile-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 1.25rem 2rem;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-tabs .nav-link:hover {
    color: var(--text-primary);
    border-bottom-color: var(--accent-color);
    background: rgba(0, 123, 255, 0.05);
}

.profile-tabs .nav-link.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background: transparent;
}

/* Адмін панель */
.admin-function-card {
    cursor: pointer;
    transition: all var(--transition-normal);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.admin-function-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.admin-function-card:hover::before {
    opacity: 0.1;
}

.admin-function-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.admin-icon {
    transition: all var(--transition-normal);
    font-size: 3rem;
}

.admin-function-card:hover .admin-icon {
    transform: scale(1.2) rotate(5deg);
}

.admin-stats-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.admin-stats-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-slow);
}

.admin-stats-card:hover::after {
    transform: scale(1.5);
}

/* Кольорові схеми */
.color-scheme-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.color-scheme-option {
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.color-scheme-option:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.color-scheme-option.selected {
    transform: scale(1.15);
    box-shadow: 0 0 0 4px var(--accent-color);
}

.color-scheme-preview {
    width: 100%;
    height: 80px;
    border-radius: 15px;
}

.color-scheme-option.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: var(--shadow-md);
}

/* Перемикач теми (дублі видалено - стилі перенесено в header.php) */

/* Завантаження */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Анімації */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.bounce-in {
    animation: bounceIn 1s ease-out;
}

/* Спеціальні елементи */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-border {
    border: 3px solid;
    border-image: var(--gradient-primary) 1;
}

/* Футер */
.footer {
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shimmer 4s infinite;
}

/* Основна частина футера */
.footer-main {
    padding: 4rem 0 3rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    position: relative;
    z-index: 2;
}

/* Бренд футера */
.footer-brand {
    margin-bottom: 2rem;
}

.footer-brand .brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand .brand-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.footer-brand .brand-icon i {
    font-size: 1.75rem;
    color: white;
}

.footer-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-brand .brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
}

.footer-brand .brand-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Секції футера */
.footer-section {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.footer-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Стеклянний футер */
.glass-footer {
    background: rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37) !important;
}

.glass-footer::before {
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%) !important;
}

/* Стеклянні секції футера */
.glass-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.glass-section:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* Стеклянний бренд футера */
.glass-brand-section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 2rem;
}

/* Стеклянні заголовки */
.glass-title {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

/* Стеклянний текст */
.glass-text {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.2);
}

/* Стеклянні посилання */
.glass-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.glass-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    transition: width 0.3s ease;
}

.glass-link:hover {
    color: rgba(255, 255, 255, 1) !important;
    transform: translateX(5px);
}

.glass-link:hover::before {
    width: 100%;
}

/* Стеклянні контактні елементи */
.glass-contact-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.glass-contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

/* Стеклянні соціальні посилання */
.glass-social {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-social-link {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.glass-social-link:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1) rotate(5deg);
}

.glass-social-link .social-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.glass-social-link:active .social-ripple {
    width: 200px;
    height: 200px;
    opacity: 0;
}

/* Стеклянна нижня частина */
.glass-bottom {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Плаваючі іконки */
.floating-icon {
    animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(2n) {
    animation-delay: 0.5s;
}

.floating-icon:nth-child(3n) {
    animation-delay: 1s;
}

/* Плаваючі форми */
.floating-shape {
    animation: float 4s ease-in-out infinite;
}

.floating-shape:nth-child(2n) {
    animation-delay: 1s;
}

.floating-shape:nth-child(3n) {
    animation-delay: 2s;
}

/* Кастомні tooltip'и */
.custom-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.custom-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

/* Анімації для hover ефектів */
.nav-link-ripple,
.toggle-ripple,
.social-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.nav-link-ripple:active,
.toggle-ripple:active,
.social-ripple:active {
    width: 300px;
    height: 300px;
    opacity: 0;
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.footer-title i {
    color: var(--gradient-accent);
    font-size: 1.25rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Посилання футера */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-radius: 8px;
    padding-left: 0.5rem;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    padding-left: 1rem;
}

.footer-links i {
    color: var(--gradient-accent);
    font-size: 0.875rem;
    transition: transform var(--transition-fast);
}

.footer-links a:hover i {
    transform: scale(1.2);
}

/* Контактна інформація */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.1rem;
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact-value {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-value:hover {
    color: white;
}

/* Соціальні посилання */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
    color: white;
}

.social-link i {
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

/* Нижня частина футера */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.copyright i {
    color: var(--gradient-accent);
    margin-right: 0.5rem;
}

.footer-actions {
    display: flex;
    align-items: center;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    padding: 0.25rem 0;
}

.legal-link:hover {
    color: white;
    transform: translateY(-1px);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
}

/* Декоративні елементи футера */
.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-shape {
    position: absolute;
    background: var(--gradient-accent);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.decoration-shape.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.decoration-shape.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.decoration-shape.shape-3 {
    width: 120px;
    height: 120px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

/* Адаптивність */
@media (max-width: 768px) {
    .color-scheme-selector {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tariff-price {
        font-size: 2.5rem;
    }
    
    .card-header {
        padding: 1.25rem;
    }
    
    .profile-tabs .nav-link {
        padding: 1rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .card {
        border-radius: 15px;
    }
    
    .tariff-card {
        padding: 2rem 1.5rem;
    }
    
    .profile-sidebar {
        padding: 2rem 1.5rem;
    }
}

/* Додаткові анімації для елементів */
.hero-section {
    animation: fadeIn 1s ease-out;
}

.feature-card {
    animation: slideInLeft 0.8s ease-out;
}

.feature-card:nth-child(even) {
    animation: slideInRight 0.8s ease-out;
}

.tariff-card {
    animation: bounceIn 1s ease-out;
}

.tariff-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card {
    animation: fadeIn 0.8s ease-out;
}

.stat-card:nth-child(2) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* Hover ефекти для інтерактивних елементів */
.nav-link:hover,
.btn:hover,
.card:hover,
.tariff-card:hover {
    transform: translateY(-5px);
}

/* Плавні переходи для всіх елементів */
* {
    transition: all var(--transition-fast);
}

/* Спеціальні ефекти для градієнтів */
.gradient-bg {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

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

/* Анімований фон */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 50%;
    animation-delay: 1s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    bottom: 20%;
    right: 30%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.2;
    }
}

/* Покращена анімація плавання */
@keyframes floatEnhanced {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.05);
        opacity: 1;
    }
    50% {
        transform: translateY(-25px) rotate(180deg) scale(1.1);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-15px) rotate(270deg) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: translateY(0px) rotate(360deg) scale(1);
        opacity: 0.8;
    }
}

/* Анімація пульсації */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Анімація світіння */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

/* Кнопка "Нагору" */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: var(--gradient-secondary);
}

.scroll-to-top i {
    font-size: 1.2rem;
}

/* Анімація входу для елементів */
.animate-in {
    animation: slideInUp 0.8s ease-out forwards;
}

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

/* Додаткові hover ефекти */
.nav-link:hover,
.btn:hover,
.card:hover,
.tariff-card:hover,
.feature-card:hover,
.stat-card:hover {
    transform: translateY(-5px);
}

/* Покращені форми */
.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.3rem rgba(0, 123, 255, 0.15);
    background: var(--bg-primary);
    transform: translateY(-2px);
}

/* Покращені кнопки */
.btn:active {
    transform: translateY(0);
}

/* Анімація для карток */
.card,
.tariff-card,
.feature-card,
.stat-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-normal);
}

.card.animate-in,
.tariff-card.animate-in,
.feature-card.animate-in,
.stat-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Стилі для навбара (дублі видалено - стилі перенесено в header.php) */

/* Покращені дропдауни */
.dropdown-menu {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item {
    border-radius: 10px;
    margin: 0.25rem 0.5rem;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

/* Анімація для іконок */
.bi {
    transition: transform var(--transition-fast);
}

.btn:hover .bi,
.nav-link:hover .bi {
    transform: scale(1.1);
}

/* Покращені алерти */
.alert {
    border-radius: 15px;
    border: none;
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
    animation: slideInRight 0.5s ease-out;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
}

/* Анімація для модальних вікон */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow-xl);
    animation: bounceIn 0.6s ease-out;
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px 20px 0 0;
    border: none;
}

/* Покращені таблиці */
.table {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table thead th {
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 600;
}

/* Анімація для завантаження */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Покращені пагінації */
.pagination .page-link {
    border-radius: 10px;
    margin: 0 0.25rem;
    border: none;
    transition: all var(--transition-fast);
}

.pagination .page-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--accent-color);
}

/* Анімація для прогрес барів */
.progress {
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.progress-bar {
    background: var(--gradient-primary);
    transition: width var(--transition-slow);
}

/* Покращені бейджі */
.badge {
    border-radius: 20px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all var(--transition-fast);
}

.badge:hover {
    transform: scale(1.05);
}

/* Анімація для спойлерів */
.collapse {
    transition: all var(--transition-normal);
}

.collapsing {
    transition: all var(--transition-normal);
}

/* Покращені тултіпи */
.tooltip .tooltip-inner {
    background: var(--gradient-primary);
    border-radius: 10px;
    font-weight: 500;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--accent-color);
}

/* Анімація для сповіщень */
#flash-messages .alert {
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Покращені інпути */
.input-group-text {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 15px 0 0 15px;
}

.input-group .form-control {
    border-radius: 0 15px 15px 0;
}

/* Анімація для чекбоксів */
.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.form-check-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Покращені селекти */
.form-select {
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-fast);
}

.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.3rem rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

/* Анімація для текстових областей */
.form-control[rows] {
    resize: vertical;
    min-height: 100px;
}

/* Покращені групи форм */
.form-floating > .form-control {
    border-radius: 15px;
}

.form-floating > .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.3rem rgba(0, 123, 255, 0.15);
}

/* Анімація для валідації */
.form-control.is-valid {
    border-color: var(--success-color);
    background-image: none;
}

.form-control.is-invalid {
    border-color: var(--danger-color);
    background-image: none;
}

/* Покращені групи кнопок */
.btn-group .btn {
    border-radius: 15px;
    margin: 0 0.25rem;
}

.btn-group .btn:first-child {
    border-radius: 15px 0 0 15px;
    margin-left: 0;
}

.btn-group .btn:last-child {
    border-radius: 0 15px 15px 0;
    margin-right: 0;
}

/* Анімація для карток з зображеннями */
.card-img-top {
    transition: transform var(--transition-normal);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Покращені списки */
.list-group-item {
    border-radius: 10px;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.list-group-item:hover {
    background: var(--bg-secondary);
    transform: translateX(5px);
    border-color: var(--accent-color);
}

/* Анімація для навігаційних вкладок */
.nav-tabs .nav-link {
    border-radius: 15px 15px 0 0;
    transition: all var(--transition-fast);
}

.nav-tabs .nav-link:hover {
    border-color: var(--accent-color);
    background: rgba(0, 123, 255, 0.1);
}

.nav-tabs .nav-link.active {
    border-color: var(--accent-color);
    background: var(--gradient-primary);
    color: white;
}

/* Покращені хлібні крихти */
.breadcrumb {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 1rem 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--accent-color);
    font-weight: 600;
}

/* Hero секція */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-illustration {
    position: relative;
    z-index: 2;
}

.hero-icon-wrapper {
    position: relative;
    display: inline-block;
}

.floating-icon {
    animation: heroIconFloat 4s ease-in-out infinite;
}

@keyframes heroIconFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-element {
    position: absolute;
    font-size: 2.5rem;
    animation: float 4s ease-in-out infinite;
    animation-delay: var(--delay);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.floating-element:nth-child(1) { top: 15%; left: 15%; }
.floating-element:nth-child(2) { top: 55%; right: 15%; }
.floating-element:nth-child(3) { bottom: 25%; left: 45%; }
.floating-element:nth-child(4) { top: 35%; right: 35%; }

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-25px) rotate(180deg); 
        opacity: 1;
    }
}

/* Анімація для кнопок */
.pulse-animation {
    animation: pulse 2s infinite;
}

/* Покращені анімації для елементів */
.feature-card {
    animation: slideInLeft 0.8s ease-out;
}

.feature-card:nth-child(even) {
    animation: slideInRight 0.8s ease-out;
}

/* Адаптивність для hero секції */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .floating-element {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .floating-element {
        font-size: 1.5rem;
    }
}

/* Сторінки авторизації */
.auth-hero-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.auth-card {
    position: relative;
    z-index: 2;
    border: none;
    border-radius: 25px;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
}

.auth-card .card-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: 25px 25px 0 0;
    border: none;
    padding: 2rem;
}

.auth-card .card-body {
    padding: 2.5rem;
}

/* Форми авторизації */
.auth-card .form-control {
    border-radius: 15px;
    border: 2px solid var(--border-color);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.auth-card .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.3rem rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.auth-card .form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-card .btn {
    border-radius: 15px;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.auth-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Перемикач видимості пароля */
.auth-card .input-group-text {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0 15px 15px 0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.auth-card .input-group-text:hover {
    background: var(--gradient-secondary);
    transform: scale(1.05);
}

/* Чекбокси та перемикачі */
.auth-card .form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.auth-card .form-check-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.auth-card .form-check-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* reCAPTCHA */
.auth-card .g-recaptcha {
    margin: 1rem 0;
}

.auth-card .invalid-feedback {
    font-size: 0.875rem;
    color: var(--danger-color);
    margin-top: 0.5rem;
}

/* Розділювач */
.auth-card .text-muted {
    color: var(--text-muted) !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Посилання */
.auth-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.auth-card a:hover {
    color: var(--gradient-secondary);
    text-decoration: underline;
}

/* Анімація для форм */
.auth-card {
    animation: slideInUp 0.8s ease-out;
}

.auth-card .form-control {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.auth-card .form-control:nth-child(1) { animation-delay: 0.1s; }
.auth-card .form-control:nth-child(2) { animation-delay: 0.2s; }
.auth-card .form-control:nth-child(3) { animation-delay: 0.3s; }
.auth-card .form-control:nth-child(4) { animation-delay: 0.4s; }
.auth-card .form-control:nth-child(5) { animation-delay: 0.5s; }

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

/* Сторінка профілю */
.profile-hero-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.profile-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: 1;
}

.profile-hero-section .container {
    position: relative;
    z-index: 2;
}

/* Бічна панель профілю */
.profile-sidebar {
    background: var(--gradient-primary);
    color: white;
    border-radius: 25px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.profile-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.avatar-wrapper img {
    border: 5px solid white;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.avatar-wrapper:hover img {
    transform: scale(1.05);
}

.avatar-wrapper .btn {
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    border: 2px solid white;
    box-shadow: var(--shadow-md);
}

.avatar-wrapper .btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.tariff-badge .badge {
    font-size: 1.1rem;
    padding: 0.875rem 1.75rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.profile-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.stat-item {
    padding: 0.75rem;
}

.stat-item h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-item small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Вкладки профілю */
.profile-tabs .nav-tabs {
    border-bottom: 3px solid var(--border-color);
    background: var(--bg-primary);
    border-radius: 15px 15px 0 0;
    padding: 0 1rem;
}

.profile-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 1.25rem 2rem;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
}

.profile-tabs .nav-link:hover {
    color: var(--text-primary);
    border-bottom-color: var(--accent-color);
    background: rgba(0, 123, 255, 0.05);
}

.profile-tabs .nav-link.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background: transparent;
}

.profile-tabs .tab-content {
    background: var(--bg-primary);
    border-radius: 0 0 15px 15px;
    padding: 2rem;
}

/* Модальні вікна */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow-xl);
    animation: bounceIn 0.6s ease-out;
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px 20px 0 0;
    border: none;
    padding: 1.5rem 2rem;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
}

/* Адаптивність для авторизації */
@media (max-width: 768px) {
    .auth-hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .auth-card .card-body {
        padding: 2rem;
    }
    
    .auth-card .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .profile-sidebar {
        margin-bottom: 2rem;
        padding: 2rem;
    }
    
    .profile-tabs .nav-link {
        padding: 1rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .profile-tabs .tab-content {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .auth-hero-section {
        min-height: 60vh;
        padding: 1.5rem 0;
    }
    
    .auth-card .card-header {
        padding: 1.5rem;
    }
    
    .auth-card .card-body {
        padding: 1.5rem;
    }
    
    .profile-sidebar {
        padding: 1.5rem;
    }
    
    .profile-tabs .nav-tabs {
        padding: 0 0.5rem;
    }
    
    .profile-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    .profile-tabs .tab-content {
        padding: 1rem;
    }
}

/* Адаптивність (дублі видалено - стилі перенесено в header.php та footer.php) */

/* Адаптивність (дублі видалено - стилі перенесено в header.php та footer.php) */

/* Стилі для сучасного навбара (дублі видалено - стилі перенесено в header.php) */

/* Стилі для сучасного футера (дублі видалено - стилі перенесено в footer.php) */

/* Анімовані елементи футера (дублі видалено - стилі перенесено в footer.php) */

/* Прогрес-бар прокрутки (дублі видалено - стилі перенесено в header.php) */

/* Адаптивність (дублі видалено - стилі перенесено в header.php та footer.php) */