/**
 * Common Inline Styles Extracted to CSS
 * BoxStory - Brand Color System Integration
 *
 * This file contains commonly repeated inline styles from multiple templates
 * All colors converted to use brand color variables from brand-kit-custom.css
 */

/* ============================================================================
   AVATAR & IMAGE STYLES
   ============================================================================ */

.avatar-80 {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
}

.avatar-60 {
    width: 3.75rem;
    height: 3.75rem;
    object-fit: cover;
}


.avatar-30 {
    width: 1.875rem;
    height: 1.875rem;
    object-fit: cover;
}


.avatar-placeholder-30 {
    width: 1.875rem;
    height: 1.875rem;
}

.avatar-placeholder-80 {
    width: 5rem;
    height: 5rem;
}

.avatar-placeholder-60 {
    width: 3.75rem;
    height: 3.75rem;
}

/* ============================================================================
   TOAST & MODAL STYLES
   ============================================================================ */

/* Toast Container - Fixed to viewport */
.toast-container-fixed,
#component-toast-container-main {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    max-width: 25rem;
    z-index: 10000 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Toast Base Styles */
.toast {
    min-width: 21.875rem;
    max-width: 25rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
    border-radius: 0.625rem;
    position: static !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
}

/* Toast Colors using Brand Colors */
.toast.bg-success {
    background: linear-gradient(135deg, var(--semantic-success) 0%, #059669 100%) !important;
}

.toast.bg-error,
.toast.bg-danger {
    background: linear-gradient(135deg, var(--semantic-error) 0%, #dc2626 100%) !important;
}

.toast.bg-warning {
    background: linear-gradient(135deg, var(--semantic-warning) 0%, #d97706 100%) !important;
    color: var(--color-navy) !important;
}

.toast.bg-info {
    background: linear-gradient(135deg, var(--color-aqua) 0%, var(--semantic-success) 100%) !important;
}

.toast.bg-primary {
    background: linear-gradient(135deg, var(--color-aqua) 0%, #2563eb 100%) !important;
}

/* Toast Header */
.toast-header {
    padding: 0.75rem 1rem;
    border-bottom: none;
}

.toast-header i {
    font-size: 1.1rem;
}

.toast-header strong {
    font-size: 0.95rem;
}

/* Toast Body */
.toast-body {
    padding: 0.5rem 1rem 0.75rem 1rem;
    font-size: 0.9rem;
}

/* Close Button */
.toast .btn-close {
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    opacity: 0.8;
}

.toast .btn-close:hover {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

/* Warning Toast Specific */
.toast.bg-warning .btn-close {
    background: rgba(0, 0, 0, 0.1);
    filter: invert(1);
}

.toast.bg-warning .btn-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.toast-container-top-right {
    position: fixed;
    top: 0;
    right: 0;
    padding: 1rem;
    z-index: 9999;
}

.toast-rounded {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.toast-body-aqua {
    background: var(--color-aqua);
    color: white;
    padding: 1.25rem;
    font-weight: 600;
}

.toast-body-coral {
    background: var(--color-coral);
    color: white;
    padding: 1.25rem;
    font-weight: 600;
}

/* Modal Styles */
.modal-content-rounded {
    border-radius: 1.25rem;
    border: none;
    overflow: hidden;
}

.modal-header-gradient {
    background: var(--gradient-navy-aqua);
    color: white;
    border: none;
    padding: 2rem;
}

.modal-title-bold {
    font-weight: 700;
    font-size: 1.5rem;
}

.modal-body-padded {
    padding: 2rem;
}

.modal-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-subtitle {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--color-navy);
}

/* ============================================================================
   PROGRESS & LOADING STYLES
   ============================================================================ */

.progress-rounded {
    height: 0.5rem;
    border-radius: 0.625rem;
}

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

.progress-bar-animated {
    width: 100%;
    background: var(--gradient-primary);
}

/* ============================================================================
   ALERT & INFO BOX STYLES
   ============================================================================ */

.alert-rounded {
    border-radius: 0.75rem;
    border: none;
}

.alert-accent-bg {
    background: var(--bg-accent);
}

.alert-icon-aqua {
    color: var(--color-aqua);
}

/* ============================================================================
   SOCIAL AUTH PROVIDER STYLES
   ============================================================================ */

.auth-provider-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.auth-provider-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--color-navy);
}

/* ============================================================================
   EMAIL & TEXT STYLES
   ============================================================================ */

.text-center-email {
    text-align: center;
    margin-top: 1.25rem;
}

.hr-email {
    border: none;
    border-top: 0.0625rem solid #ddd;
    margin: 1.25rem 0;
}

/* ============================================================================
   FORM & INPUT ENHANCEMENTS
   ============================================================================ */

.form-hidden {
    display: none;
}

.form-divider {
    margin: 1.5rem 0;
}

/* ============================================================================
   BRAND LOGO & HEADER STYLES
   ============================================================================ */

.auth-brand-logo {
    color: var(--color-aqua);
}

.footer-text-small {
    font-size: 0.875rem;
}

/* ============================================================================
   GLASSMORPHISM EFFECTS
   ============================================================================ */

.glass-light {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(0.625rem);
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.glass-medium {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(0.9375rem);
    border: 0.0625rem solid rgba(255, 255, 255, 0.15);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(1.25rem);
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

/* ============================================================================
   HOVER EFFECTS (replaces inline JavaScript hover)
   ============================================================================ */

.hover-translate-up {
    transition: transform 0.3s ease;
}

.hover-translate-up:hover {
    transform: translateY(-0.1875rem);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

/* ============================================================================
   POSITIONING UTILITIES
   ============================================================================ */

.position-relative-z10 {
    position: relative;
    z-index: 10;
}

.position-absolute-fill {
    position: absolute;
    inset: 0;
}

/* ============================================================================
   GRADIENT TEXT UTILITIES
   ============================================================================ */

.gradient-text-aqua {
    background: linear-gradient(135deg, var(--color-aqua) 0%, #3e9b8f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-coral {
    background: linear-gradient(135deg, var(--color-coral) 0%, #d12f32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-navy {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================================
   RESPONSIVE FONT SIZING
   ============================================================================ */

.font-size-clamp-large {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.font-size-clamp-medium {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.font-size-clamp-small {
    font-size: clamp(1rem, 3vw, 1.5rem);
}

/* ============================================================================
   OPACITY UTILITIES (using brand colors)
   ============================================================================ */

.opacity-85 {
    opacity: 0.85;
}

.opacity-90 {
    opacity: 0.90;
}

.opacity-95 {
    opacity: 0.95;
}

/* ============================================================================
   BORDER RADIUS UTILITIES
   ============================================================================ */

.rounded-10 {
    border-radius: 0.625rem;
}

.rounded-12 {
    border-radius: 0.75rem;
}

.rounded-16 {
    border-radius: 1rem;
}

.rounded-20 {
    border-radius: 1.25rem;
}

.rounded-50 {
    border-radius: 3.125rem;
}

/* ============================================================================
   BOX SHADOW UTILITIES (using brand colors)
   ============================================================================ */

.shadow-aqua-sm {
    box-shadow: 0 0.25rem 0.75rem rgba(102, 199, 190, 0.3);
}

.shadow-aqua-md {
    box-shadow: 0 0.5rem 1.25rem rgba(102, 199, 190, 0.4);
}

.shadow-aqua-lg {
    box-shadow: 0 0.75rem 1.875rem rgba(102, 199, 190, 0.5);
}

.shadow-coral-sm {
    box-shadow: 0 0.25rem 0.75rem rgba(239, 63, 66, 0.3);
}

.shadow-coral-md {
    box-shadow: 0 0.5rem 1.25rem rgba(239, 63, 66, 0.4);
}

.shadow-navy-sm {
    box-shadow: 0 0.25rem 0.75rem rgba(20, 40, 64, 0.2);
}

/* ============================================================================
   PADDING & MARGIN UTILITIES
   ============================================================================ */

.p-15 {
    padding: 0.9375rem;
}

.p-20 {
    padding: 1.25rem;
}

.px-32 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-10 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

/* ============================================================================
   LETTER SPACING UTILITIES
   ============================================================================ */

.letter-spacing-sm {
    letter-spacing: 0.03125rem;
}

.letter-spacing-md {
    letter-spacing: 0.0625rem;
}

.letter-spacing-lg {
    letter-spacing: 0.125rem;
}

.letter-spacing-tight {
    letter-spacing: -0.0625rem;
}

.letter-spacing-tighter {
    letter-spacing: -0.125rem;
}

/* ============================================================================
   LINE HEIGHT UTILITIES
   ============================================================================ */

.line-height-1-1 {
    line-height: 1.1;
}

.line-height-1-5 {
    line-height: 1.5;
}

.line-height-1-6 {
    line-height: 1.6;
}

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

@media (max-width: 48rem) {
    .font-size-clamp-large {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .font-size-clamp-medium {
        font-size: clamp(1.2rem, 3vw, 2rem);
    }

    .modal-body-padded {
        padding: 1rem;
    }

    .modal-header-gradient {
        padding: 1.5rem;
    }
}

@media (max-width: 36rem) {
    .toast-container,
    .toast-container-fixed,
    #component-toast-container-main {
        max-width: calc(100vw - 2rem);
        left: 1rem;
        right: 1rem;
    }

    .toast {
        min-width: 100%;
    }
}

/* ============================================================================
   NAVBAR RESPONSIVE STYLES
   ============================================================================ */

@media (min-width: 48rem) and (max-width: 74.9375rem) {
    .navbar-nav .nav-link {
        font-size: 0.75rem !important;
    }
}

/* ============================================================================
   FILTER & CARD COMPONENTS
   ============================================================================ */

.filter-card {
    background: var(--bg-secondary, #f8f9fa);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.store-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 0.125rem solid #f3f4f6;
    height: 100%;
}

.store-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, 0.12);
    border-color: var(--color-aqua, #66c7be);
}
