/* Custom Premium Styles for EASolutions Docs */

:root {
    --premium-gradient-primary: linear-gradient(135deg, var(--phoenix-primary) 0%, #1e293b 100%);
    --premium-glass-bg: rgba(255, 255, 255, 0.7);
    --premium-glass-border: rgba(255, 255, 255, 0.3);
    --premium-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* Glassmorphism Effect */
.glass-card {
    background: var(--premium-glass-bg) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--premium-glass-border) !important;
    box-shadow: var(--premium-shadow);
}

/* Premium Stats Card */
.stats-card-premium {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.stats-card-premium .stats-icon-bg {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 5rem;
    opacity: 0.1;
    transform: rotate(-15deg);
}

/* Hero Section - Mockup Style */
.hero-premium {
    background: #004d4d !important;
    padding: 100px 0 160px 0 !important;
    margin-bottom: 0;
    color: white !important;
    position: relative;
    border-radius: 0;
}

.navbar-public-home {
    background-color: white !important;
    box-shadow: none !important;
    border-bottom: 1px solid #eee;
}

.container-public {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

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

.transition-base { transition: all 0.2s ease-in-out; }
.hover-standard:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important; }

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    line-clamp: 2;
    overflow: hidden;
}

.navbar-public-home .navbar-brand img {
    max-height: 48px;
    width: auto;
}

/* Category Card Flyover */
.card-flyer {
    transition: all 0.3s ease-in-out;
}

.card-flyer:hover {
    transform: translateY(-10px);
    box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.1);
}

/* Custom Primary Badge */
.badge-premium {
    background: var(--premium-gradient-primary);
    color: white;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* Animated Search Box */
.search-box-premium {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-box-premium:focus-within {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

/* Fix layout boundaries and navbar visibility */
.navbar-top { 
    background-color: rgba(255, 255, 255, 0.8) !important; 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--phoenix-border-color);
}
html, body {
    height: 100%;
    margin: 0;
}
body {
    background-color: #f6f8fb !important;
}
.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.content { 
    padding-top: 5.5rem !important; 
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}
.footer { 
    margin-top: auto; 
    padding: 1.5rem 0;
    width: 100%;
    border-top: 1px solid var(--phoenix-border-color);
    background-color: var(--phoenix-body-bg);
}

/* Ensure cards are clickable and have hover effects in dashboard */
.hover-actions-trigger:hover {
    transform: translateY(-4px);
    transition: transform 0.2s ease;
}

/* Table Mockup Styles */
.table thead th {
    background-color: #f8fafd !important; /* Light blue/grey header */
    border-bottom: 1px solid var(--phoenix-border-color);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.badge-soft-info { background-color: #e3f2fd; color: #1976d2; }
.badge-soft-success { background-color: #e8f5e9; color: #2e7d32; }
.badge-soft-warning { background-color: #fff9c4; color: #fbc02d; }

.text-primary-light { color: #8fa0b5; }

.border-300 { border-color: #e3e6ed !important; }

.btn-outline-secondary:hover { background-color: #f8f9fa; }
.btn-outline-danger:hover { background-color: #fff5f5; }

.table tbody tr td {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}
