/**
 * CE Organizer Portal - Main Stylesheet
 * Combines styles for login and dashboard
 */

/* ============================================
   HARD FIX: FULLSCREEN OVERRIDES - ULTRA AGGRESSIVE
   Remove ALL theme interference with ce-fullscreen class
   ============================================ */

/* Base fullscreen reset - HARD FIX */
body.ce-fullscreen,
body.ce-fullscreen html,
body.ce-fullscreen body,
.ce-fullscreen,
.ce-fullscreen html,
.ce-fullscreen body {
    margin: 0 !important;
    padding: 0 !important;
    background: #020617 !important;
    min-height: 100vh !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
}

/* Remove WordPress admin bar - HARD FIX */
body.ce-fullscreen #wpadminbar,
.ce-fullscreen #wpadminbar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* HARD FIX: Remove ALL theme headers, footers, navigation - ULTRA AGGRESSIVE */
body.ce-fullscreen .site-header,
body.ce-fullscreen .site-footer,
body.ce-fullscreen .site-footer-container,
body.ce-fullscreen header,
body.ce-fullscreen footer,
body.ce-fullscreen nav,
body.ce-fullscreen .main-navigation,
body.ce-fullscreen .site-navigation,
body.ce-fullscreen .wp-block-template-part[data-area="header"],
body.ce-fullscreen .wp-block-template-part[data-area="footer"],
body.ce-fullscreen .wp-block-group[data-type="core/template-part"][data-area="header"],
body.ce-fullscreen .wp-block-group[data-type="core/template-part"][data-area="footer"],
body.ce-fullscreen header.wp-block-template-part,
body.ce-fullscreen footer.wp-block-template-part,
body.ce-fullscreen .js-reveal-from-top,
body.ce-fullscreen .js-reveal-from-bottom,
.ce-fullscreen .site-header,
.ce-fullscreen .site-footer,
.ce-fullscreen .site-footer-container,
.ce-fullscreen header,
.ce-fullscreen footer,
.ce-fullscreen nav,
.ce-fullscreen .main-navigation,
.ce-fullscreen .site-navigation,
.ce-fullscreen .wp-block-template-part[data-area="header"],
.ce-fullscreen .wp-block-template-part[data-area="footer"],
.ce-fullscreen .wp-block-group[data-type="core/template-part"][data-area="header"],
.ce-fullscreen .wp-block-group[data-type="core/template-part"][data-area="footer"],
.ce-fullscreen header.wp-block-template-part,
.ce-fullscreen footer.wp-block-template-part,
.ce-fullscreen .js-reveal-from-top,
.ce-fullscreen .js-reveal-from-bottom {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

/* HARD FIX: Remove ALL theme wrappers, containers, and content areas - ULTRA AGGRESSIVE */
body.ce-fullscreen .site-content,
body.ce-fullscreen .content-area,
body.ce-fullscreen .site-main,
body.ce-fullscreen .entry-content,
body.ce-fullscreen .wp-block-group,
body.ce-fullscreen .wp-block-group__inner-container,
body.ce-fullscreen .wp-block-post-content,
body.ce-fullscreen .wp-site-blocks,
body.ce-fullscreen .wp-block-template-part,
body.ce-fullscreen .is-layout-constrained,
body.ce-fullscreen .is-layout-flow,
body.ce-fullscreen .wp-container-content,
body.ce-fullscreen .wp-block-columns,
body.ce-fullscreen .wp-block-column,
body.ce-fullscreen .alignfull,
body.ce-fullscreen .alignwide,
.ce-fullscreen .site-content,
.ce-fullscreen .content-area,
.ce-fullscreen .site-main,
.ce-fullscreen .entry-content,
.ce-fullscreen .wp-block-group,
.ce-fullscreen .wp-block-group__inner-container,
.ce-fullscreen .wp-block-post-content,
.ce-fullscreen .wp-site-blocks,
.ce-fullscreen .wp-block-template-part,
.ce-fullscreen .is-layout-constrained,
.ce-fullscreen .is-layout-flow,
.ce-fullscreen .wp-container-content,
.ce-fullscreen .wp-block-columns,
.ce-fullscreen .wp-block-column,
.ce-fullscreen .alignfull,
.ce-fullscreen .alignwide {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* HARD FIX: Remove padding from inner containers */
body.ce-fullscreen .wp-block-group__inner-container,
.ce-fullscreen .wp-block-group__inner-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* HARD FIX: Remove alignment constraints */
body.ce-fullscreen .alignwide,
body.ce-fullscreen .alignfull,
body.ce-fullscreen .has-global-padding,
.ce-fullscreen .alignwide,
.ce-fullscreen .alignfull,
.ce-fullscreen .has-global-padding {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* HARD FIX: Remove theme spacing and gaps - ULTRA AGGRESSIVE */
body.ce-fullscreen *,
.ce-fullscreen * {
    --wp--style--block-gap: 0 !important;
    --wp--custom--gap--horizontal: 0 !important;
    --wp--custom--gap--vertical: 0 !important;
    --wp--custom--margin--horizontal: 0 !important;
    --wp--custom--margin--vertical: 0 !important;
    --wp--preset--spacing--10: 0 !important;
    --wp--preset--spacing--20: 0 !important;
    --wp--preset--spacing--30: 0 !important;
    --wp--preset--spacing--40: 0 !important;
    --wp--preset--spacing--50: 0 !important;
    --wp--preset--spacing--60: 0 !important;
    --wp--preset--spacing--70: 0 !important;
}

/* HARD FIX: Remove borders and outlines that might create visual boxes */
body.ce-fullscreen .wp-block-group,
body.ce-fullscreen .wp-block-post-content,
body.ce-fullscreen .entry-content,
.ce-fullscreen .wp-block-group,
.ce-fullscreen .wp-block-post-content,
.ce-fullscreen .entry-content {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* HARD FIX: Ensure wrapper elements take full screen */
body.ce-fullscreen #fullscreen-content,
body.ce-fullscreen .ce-organizer-wrapper,
.ce-fullscreen #fullscreen-content,
.ce-fullscreen .ce-organizer-wrapper {
    min-height: 100vh !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================
   LEGACY: FULLSCREEN OVERRIDES - ABSOLUTE FULLSCREEN
   Remove ALL theme interference (backward compatibility)
   ============================================ */

/* Base fullscreen reset */
.ce-organizer-fullscreen,
.ce-organizer-fullscreen html,
.ce-organizer-fullscreen body {
    margin: 0 !important;
    padding: 0 !important;
    background: #020617 !important;
    min-height: 100vh !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Remove WordPress admin bar */
.ce-organizer-fullscreen #wpadminbar {
    display: none !important;
}

/* Remove ALL theme headers, footers, navigation */
.ce-organizer-fullscreen .site-header,
.ce-organizer-fullscreen .site-footer,
.ce-organizer-fullscreen header,
.ce-organizer-fullscreen footer,
.ce-organizer-fullscreen nav,
.ce-organizer-fullscreen .main-navigation,
.ce-organizer-fullscreen .site-navigation,
.ce-organizer-fullscreen .wp-block-template-part[data-area="header"],
.ce-organizer-fullscreen .wp-block-template-part[data-area="footer"],
.ce-organizer-fullscreen .wp-block-group[data-type="core/template-part"][data-area="header"],
.ce-organizer-fullscreen .wp-block-group[data-type="core/template-part"][data-area="footer"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Remove ALL theme wrappers, containers, and content areas */
.ce-organizer-fullscreen .site-content,
.ce-organizer-fullscreen .content-area,
.ce-organizer-fullscreen .site-main,
.ce-organizer-fullscreen .entry-content,
.ce-organizer-fullscreen .wp-block-group,
.ce-organizer-fullscreen .wp-block-group__inner-container,
.ce-organizer-fullscreen .wp-block-post-content,
.ce-organizer-fullscreen .wp-site-blocks,
.ce-organizer-fullscreen .wp-block-template-part,
.ce-organizer-fullscreen .is-layout-constrained,
.ce-organizer-fullscreen .is-layout-flow,
.ce-organizer-fullscreen .wp-container-content,
.ce-organizer-fullscreen .wp-block-columns,
.ce-organizer-fullscreen .wp-block-column {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Remove padding from inner containers */
.ce-organizer-fullscreen .wp-block-group__inner-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove alignment constraints */
.ce-organizer-fullscreen .alignwide,
.ce-organizer-fullscreen .alignfull,
.ce-organizer-fullscreen .has-global-padding {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove theme spacing and gaps */
.ce-organizer-fullscreen * {
    --wp--style--block-gap: 0 !important;
    --wp--custom--gap--horizontal: 0 !important;
    --wp--custom--gap--vertical: 0 !important;
    --wp--custom--margin--horizontal: 0 !important;
    --wp--custom--margin--vertical: 0 !important;
}

/* Remove borders and outlines that might create visual boxes */
.ce-organizer-fullscreen .wp-block-group,
.ce-organizer-fullscreen .wp-block-post-content,
.ce-organizer-fullscreen .entry-content {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Ensure wrapper elements take full screen */
.ce-organizer-fullscreen #fullscreen-content,
.ce-organizer-fullscreen .ce-organizer-wrapper {
    min-height: 100vh !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
 
:root {
    --bg-color: #0f172a;
    --sidebar-bg: rgba(15, 23, 42, 0.95);
    --card-bg: rgba(30, 41, 59, 0.5);
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --accent-purple: #a855f7;
    --accent-blue: #6366f1;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --input-bg: rgba(15, 23, 42, 0.6);
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ============================================
   LOGIN PAGE STYLES
   ============================================ */

.ce-organizer-login-wrapper {
    background-color: var(--bg-color);
    color: var(--text-main);
    height: 100vh;
    display: flex;
    overflow: hidden;
}

/* Visual Side (Left) */
.visual-side {
    flex: 1.5;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    overflow: hidden;
    background: radial-gradient(circle at top left, #1e1b4b, #0f172a);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float 10s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #4f46e5;
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #c026d3;
    bottom: 50px;
    right: 10%;
    animation-delay: -5s;
}

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

.visual-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.visual-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Purpose sentence (custom copy) */
.visual-content h1.ce-purpose {
    font-size: 2.9rem;
    line-height: 1.2;
}

.visual-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.stats-card {
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* Login Side (Right) */
.login-side {
    flex: 1;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    border-left: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

.login-header {
    margin-bottom: 3rem;
}

.login-side .logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

/* Site branding on login */
.login-side .logo.ce-site-brand {
    gap: 0;
}

.login-side .logo.ce-site-brand .ce-site-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.login-side .logo.ce-site-brand .ce-site-brand-img {
    max-height: 44px;
    max-width: 220px;
    width: auto;
    height: auto;
    display: block;
}

.login-side .logo i {
    color: #a855f7;
}

.login-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-muted);
}

.login-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #fca5a5;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: block;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1;
    z-index: 2;
    transition: color 0.3s;
    pointer-events: none;
}

.input-wrapper input[type="text"],
.input-wrapper input[type="email"],
.input-wrapper input[type="password"] {
    width: 100%;
    min-height: 56px;
    padding: 1rem 1rem 1rem 3.25rem;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.25;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-wrapper input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
    background: rgba(30, 41, 59, 0.8);
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
}

.input-wrapper input[type="text"],
.input-wrapper input[type="email"],
.input-wrapper input[type="password"] {
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
}

.input-wrapper input[type="text"]::placeholder,
.input-wrapper input[type="email"]::placeholder,
.input-wrapper input[type="password"]::placeholder {
    color: rgba(226, 232, 240, 0.45);
    -webkit-text-fill-color: rgba(226, 232, 240, 0.45);
}

.input-wrapper input:-webkit-autofill,
.input-wrapper input:-webkit-autofill:hover,
.input-wrapper input:-webkit-autofill:focus,
.input-wrapper input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 0 1000px rgba(15, 23, 42, 0.9) inset;
    -webkit-box-shadow: 0 0 0 1000px rgba(15, 23, 42, 0.9) inset;
    transition: background-color 9999s ease-in-out 0s;
}

.input-wrapper:focus-within i {
    color: #a855f7;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    padding: 0;
    accent-color: #a855f7;
}

.forgot-pass {
    color: #a855f7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.forgot-pass:hover {
    color: #c084fc;
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.4);
}

.divider {
    margin: 2rem 0;
    text-align: center;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--glass-border);
    z-index: 1;
}

.divider span {
    position: relative;
    z-index: 2;
    background: rgba(15, 23, 42, 0.8);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-social {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s;
}

.btn-social:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
}

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

/* ============================================
   DASHBOARD STYLES
   ============================================ */

.ce-organizer-dashboard-wrapper {
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    z-index: 10;
}

.sidebar .logo {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

.sidebar .logo i {
    color: var(--accent-purple);
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(168, 85, 247, 0.1);
    color: #fff;
}

.nav-link.active i {
    color: var(--accent-purple);
}

.user-profile {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #6366f1, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

/* Main Content */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.bg-orb.orb-1 {
    top: -10%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: #4f46e5;
}

.bg-orb.orb-2 {
    bottom: -10%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: #c026d3;
}

/* Dashboard Top Header with Logo and Welcome */
.dashboard-top-header {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.dashboard-top-header > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-top-header img {
    width: 132px;
    height: 35px;
    object-fit: contain;
}

.btn-logout {
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    font-weight: 500;
    cursor: pointer;
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.event-selector {
    position: relative;
    display: inline-block;
}

.event-selector select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 24 24\' fill=\'none\' stroke=\'%23ffffff\' stroke-width=\'2\' stroke-linecap=\'round\' stroke-linejoin=\'round\'%3E%3Cpolyline points=\'6 9 12 15 18 9\'%3E%3C/polyline%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
    min-width: 250px;
    transition: all 0.2s;
}

.event-selector select:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.event-selector select:focus {
    outline: none;
    border-color: var(--accent-purple);
    background-color: rgba(255, 255, 255, 0.1);
}

.event-btn {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    min-width: 250px;
    transition: background 0.2s;
}

.event-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-create {
    background: var(--primary-gradient);
    border: none;
    padding: 0 1.5rem;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-create:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.4);
}

/* KPI Grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.2s;
}

.kpi-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.3);
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-size: 1.2rem;
}

.kpi-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.kpi-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.kpi-trend {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trend-up {
    color: var(--success);
}

.gradient-text {
    background: linear-gradient(to right, #fff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Charts Section */
.charts-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Table */
.table-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    color: var(--text-muted);
    font-weight: 600;
    padding-bottom: 1rem;
    font-size: 0.875rem;
}

td {
    padding: 1rem 0;
    border-top: 1px solid var(--glass-border);
    color: #fff;
    font-size: 0.95rem;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-success {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

.status-pending {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

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

@media (max-width: 900px) {
    .visual-side {
        display: none;
    }
    
    .login-side {
        flex: 1;
        padding: 2rem;
    }
}

@media (max-width: 1024px) {
    .charts-section {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none; /* In a real app, would have a hamburger menu */
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================
   PRINT STYLES - Lista de Presença
   ============================================ */

@media print {
    /* Hide everything except the attendees list */
    body * {
        visibility: hidden;
    }
    
    #ce-attendees-print,
    #ce-attendees-print * {
        visibility: visible;
    }
    
    #ce-attendees-print {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    
    /* Show print header */
    .ce-print-header {
        display: block !important;
        margin-bottom: 2rem;
        page-break-after: avoid;
    }
    
    /* Hide print button */
    button[onclick*="print"] {
        display: none !important;
    }
    
    /* Table styles for print */
    #ce-attendees-print table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 1rem;
    }
    
    #ce-attendees-print th {
        background-color: #f5f5f5 !important;
        color: #000 !important;
        font-weight: 700;
        padding: 0.75rem;
        border-bottom: 2px solid #000;
        text-align: left;
    }
    
    #ce-attendees-print td {
        padding: 0.75rem;
        border-bottom: 1px solid #ddd;
        color: #000 !important;
    }
    
    #ce-attendees-print tr:nth-child(even) {
        background-color: #f9f9f9;
    }
    
    /* Remove colors from check-in status for print */
    #ce-attendees-print span {
        color: #000 !important;
    }
    
    /* Page break */
    @page {
        margin: 2cm;
    }
    
    /* Avoid page breaks inside rows */
    #ce-attendees-print tr {
        page-break-inside: avoid;
    }
}

