/**
 * Main CSS File
 * 
 * Additional styles beyond style.css
 * This file contains component-specific styles
 * 
 * @package Backlink_Store
 * @since 1.0.0
 */

/* ==========================================================================
   Mobile Menu Styles
   ========================================================================== */

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background: #fff;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-navigation a {
        display: block;
        padding: 12px 10px;
        width: 100%;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }
}

/* ==========================================================================
   Alert Messages
   ========================================================================== */

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.938rem;
    line-height: 1.5;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ==========================================================================
   Form Styles Enhancement
   ========================================================================== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-size: 0.938rem;
}

.form-group label .required {
    color: var(--danger-color);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(238, 77, 45, 0.1);
}

.form-control.error {
    border-color: var(--danger-color);
}

.form-control.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

.button,
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    line-height: 1;
}

.btn-primary,
.button.alt {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover,
.button.alt:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 77, 45, 0.3);
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #f8f8f8;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.button:disabled,
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   Loading States
   ========================================================================== */

.bs-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.bs-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: bs-spin 0.6s linear infinite;
}

@keyframes bs-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading for forms */
form.bs-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Loading for buttons */
button.bs-loading,
.button.bs-loading {
    position: relative;
    color: transparent !important;
}

button.bs-loading::after,
.button.bs-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: bs-spin 0.6s linear infinite;
}

/* ==========================================================================
   WooCommerce Notices Override
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid;
    background: #fff;
}

.woocommerce-message {
    border-left-color: var(--success-color);
    background: #d4edda;
    color: #155724;
}

.woocommerce-info {
    border-left-color: var(--info-color);
    background: #d1ecf1;
    color: #0c5460;
}

.woocommerce-error {
    border-left-color: var(--danger-color);
    background: #f8d7da;
    color: #721c24;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none;
}

/* ==========================================================================
   Pagination Styles
   ========================================================================== */

.pagination,
.woocommerce-pagination {
    margin: 40px 0;
}

.pagination ul,
.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.pagination li,
.woocommerce-pagination li {
    display: inline-block;
}

.pagination a,
.pagination span,
.woocommerce-pagination a,
.woocommerce-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.pagination a:hover,
.woocommerce-pagination a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination .current,
.woocommerce-pagination .current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ==========================================================================
   Star Rating Component
   ========================================================================== */

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.star-rating .star {
    font-size: 1rem;
    line-height: 1;
}

.star-rating .star-full {
    color: #ffa500;
}

.star-rating .star-half {
    color: #ffa500;
    position: relative;
}

.star-rating .star-half::after {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #ddd;
}

.star-rating .star-empty {
    color: #ddd;
}

.star-rating .rating-value {
    font-weight: 600;
    color: var(--text-primary);
    margin-left: 3px;
}

.star-rating .rating-count {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ==========================================================================
   Progress Bar Component
   ========================================================================== */

.progress-bar-wrapper {
    margin: 10px 0;
}

.progress-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    border-radius: 10px;
    transition: width 0.6s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-size: 0.813rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary-color);
}

.text-success {
    color: var(--success-color);
}

.text-danger {
    color: var(--danger-color);
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--spacing-xs) !important; }
.mb-2 { margin-bottom: var(--spacing-sm) !important; }
.mb-3 { margin-bottom: var(--spacing-md) !important; }
.mb-4 { margin-bottom: var(--spacing-lg) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--spacing-xs) !important; }
.mt-2 { margin-top: var(--spacing-sm) !important; }
.mt-3 { margin-top: var(--spacing-md) !important; }
.mt-4 { margin-top: var(--spacing-lg) !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: var(--spacing-xs) !important; }
.p-2 { padding: var(--spacing-sm) !important; }
.p-3 { padding: var(--spacing-md) !important; }
.p-4 { padding: var(--spacing-lg) !important; }

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */

@media (max-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    
    .d-md-block {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .d-md-up-none {
        display: none !important;
    }
}

/* ==========================================================================
   Scrollbar Styling (Webkit)
   ========================================================================== */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .btn-order,
    .btn-primary,
    .btn-secondary,
    .mobile-menu-toggle,
    .product-actions {
        display: none !important;
    }
    
    body {
        background: #fff;
    }
    
    .single-product-wrapper,
    .dashboard-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}


/* ==========================================================================
   Header Styles - Modern & Responsive
   ========================================================================== */

.site-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 30px;
}

/* Logo / Branding */
.site-branding {
    flex-shrink: 0;
}

.site-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-branding .custom-logo-link {
    display: block;
    line-height: 0;
}

.site-branding img {
    max-height: 50px;
    width: auto;
}

/* Desktop Navigation */
.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 10px 18px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.938rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.nav-menu a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: var(--primary-color);
    background: #fff5f3;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

/* Cart Icon */
.cart-icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f8f9fa;
    text-decoration: none;
    transition: all 0.3s;
}

.cart-icon-link:hover {
    background: #fff5f3;
    transform: scale(1.05);
}

.cart-icon {
    font-size: 1.3rem;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.688rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

/* Login Button */
.btn-login-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.938rem;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
}

.btn-login-header:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 77, 45, 0.3);
    color: #fff;
}

.btn-login-header .btn-icon {
    font-size: 1.1rem;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.user-dropdown-toggle:hover {
    background: #fff5f3;
    border-color: var(--primary-color);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
}

.user-avatar .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-name {
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--text-primary);
}

.dropdown-arrow {
    font-size: 0.75rem;
    color: #999;
    transition: transform 0.3s;
}

.user-dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.user-dropdown-toggle[aria-expanded="true"] + .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-header strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 3px;
}

.dropdown-header small {
    display: block;
    color: #999;
    font-size: 0.813rem;
}

.dropdown-links {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.dropdown-links li {
    margin: 0;
}

.dropdown-links li.divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 0;
}

.dropdown-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.938rem;
    transition: all 0.3s;
}

.dropdown-links a:hover {
    background: #f8f9fa;
}

.dropdown-links .logout-link {
    color: #dc3545;
}

.dropdown-links .logout-link:hover {
    background: #fff5f5;
}

.link-icon {
    font-size: 1.1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 10px;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 26px;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.mobile-navigation.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.mobile-nav-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    color: #999;
}

.mobile-nav-menu {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu .current-menu-item > a {
    background: #f8f9fa;
    color: var(--primary-color);
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}

.mobile-user-avatar {
    flex-shrink: 0;
}

.mobile-user-avatar img {
    border-radius: 50%;
}

.mobile-user-details strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 3px;
}

.mobile-user-details small {
    display: block;
    color: #999;
    font-size: 0.813rem;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .btn-login-header .btn-text {
        display: none;
    }
    
    .btn-login-header {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .btn-login-header .btn-icon {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .header-inner {
        height: 60px;
    }
    
    .site-logo-text {
        font-size: 1.2rem;
    }
    
    .cart-icon-link {
        width: 40px;
        height: 40px;
    }
}


/* Notification Badge */
.btn-dashboard,
.user-dropdown-toggle {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: #fff;
    font-size: 0.688rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    line-height: 1;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 4px rgba(255, 68, 68, 0);
    }
}

/* In-Page Chat Notifications */
.in-page-notification {
    position: fixed;
    top: 80px;
    right: -400px;
    width: 350px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--primary-color);
}

.in-page-notification.show {
    right: 20px;
}

.notification-icon {
    font-size: 2rem;
    flex-shrink: 0;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.notification-body {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
}

.notification-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.notification-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 480px) {
    .in-page-notification {
        width: calc(100% - 40px);
        right: -100%;
    }
    
    .in-page-notification.show {
        right: 20px;
    }
}

/* Badge in Button */
.btn-secondary,
.btn-primary {
    position: relative;
}

.btn-badge {
    display: inline-block;
    background: #ff4444;
    color: #fff;
    font-size: 0.688rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 6px;
    vertical-align: middle;
}

.btn-secondary .btn-badge {
    background: var(--primary-color);
}
