/* Modern Dark Theme - ChronosFlow */

:root {
    /* Color Palette */
    --bg-base: #07080d;
    --bg-surface: #0f111a;
    --bg-card: rgba(18, 22, 37, 0.7);
    --bg-card-hover: rgba(26, 32, 54, 0.85);
    
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-highlight: rgba(99, 102, 241, 0.25);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    --gradient-primary-glow: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(99, 102, 241, 0) 70%);
    --gradient-completed: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-completed-glow: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0) 70%);
    --gradient-pending: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    --gradient-glow-1: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(0,0,0,0) 60%);
    --gradient-glow-2: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, rgba(0,0,0,0) 60%);

    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 12px 20px -8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --shadow-primary: 0 0 20px rgba(99, 102, 241, 0.35);
    --shadow-completed: 0 0 20px rgba(16, 185, 129, 0.3);
    
    --blur-glass: blur(16px);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Layout Variables */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* Background glows */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.85;
}

.glow-sphere-1 {
    top: -10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-sphere-2 {
    bottom: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Container */
.app-container {
    width: 100%;
    max-width: 1280px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    color: var(--text-primary);
}

.btn-primary {
    background: var(--gradient-primary);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #9a70ff 0%, #7579ff 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-subtle);
}

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

.btn-secondary:active {
    transform: translateY(0);
}

/* Header Component */
.app-header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 16px -4px rgba(99, 102, 241, 0.4);
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, #ffffff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.status-badges {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 99px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: var(--blur-glass);
}

.simulation-badge {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.simulation-badge .badge-dot {
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
}

.api-status-badge.connected {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.api-status-badge.connected .badge-dot {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.api-status-badge.disconnected {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.api-status-badge.disconnected .badge-dot {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.pulse {
    animation: pulseKeyframe 1.8s infinite;
}

@keyframes pulseKeyframe {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.5; }
}

.header-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.current-date-display {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.calendar-icon {
    color: var(--text-secondary);
    display: flex;
}

.current-date-display h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.select-premium {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.4rem 2rem 0.4rem 0.875rem;
    border-radius: var(--radius-sm);
    outline: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3' 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.625rem center;
    transition: var(--transition-smooth);
    margin-left: 0.75rem;
}

.select-premium:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.select-premium option {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.api-controls {
    display: flex;
    gap: 0.75rem;
}

/* API Settings Panel drawer */
.api-settings-panel {
    overflow: hidden;
    max-height: 500px;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.4s ease;
    opacity: 1;
    display: flex;
    flex-direction: column;
}

.api-settings-panel.collapsed {
    max-height: 0px;
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
    pointer-events: none;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.panel-header h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.btn-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    transition: var(--transition-smooth);
}

.btn-close:hover {
    color: var(--text-primary);
}

.panel-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.panel-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

.panel-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.api-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Daily Progress Section */
.progress-section {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.progress-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: radial-gradient(circle at 80% 30%, rgba(99, 102, 241, 0.04) 0%, rgba(0,0,0,0) 80%);
    pointer-events: none;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.progress-text-group h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.progress-text-group p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.progress-percentage {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-bar-container {
    height: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 99px;
    width: 0%;
    transition: width 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
    animation: progressBarShimmer 3s infinite linear;
}

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

/* Kanban Board Layout */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
    align-items: start;
}

.kanban-column {
    background: rgba(10, 11, 18, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 280px);
    min-height: 450px;
    transition: var(--transition-smooth);
}

.kanban-column:hover {
    border-color: rgba(255, 255, 255, 0.07);
    background: rgba(10, 11, 18, 0.55);
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.column-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.column-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.column-indicator.indicator-open {
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.column-indicator.indicator-completed {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.column-title-group h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.column-count-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    border: 1px solid var(--border-subtle);
}

.column-cards {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    flex-grow: 1;
}

/* Kanban Cards Styling */
.event-card {
    background: rgba(22, 28, 48, 0.45);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: default;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-3px) scale(1.01);
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-md), 0 0 20px rgba(99, 102, 241, 0.08);
}

/* Card color strip on the left */
.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--card-color, #6366f1);
}

/* Card top area */
.card-header-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.card-category {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--card-color, #6366f1);
    background: rgba(255, 255, 255, 0.02);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.card-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.tag-pending {
    background: rgba(245, 158, 11, 0.08);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.tag-completed {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

/* Card content */
.card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-detail-item svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.card-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 0.25rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Actions */
.card-actions {
    display: flex;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 0.75rem;
}

.btn-card-action {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    transition: var(--transition-smooth);
}

.btn-card-action:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.35);
}

/* Completed Card Modifiers */
.event-card.card-completed {
    background: rgba(16, 28, 24, 0.25);
    border-color: rgba(16, 185, 129, 0.08);
}

.event-card.card-completed:hover {
    background: rgba(16, 32, 27, 0.4);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: var(--shadow-md), 0 0 20px rgba(16, 185, 129, 0.05);
}

.event-card.card-completed .card-title {
    color: var(--text-secondary);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.2);
}

.event-card.card-completed .btn-card-action:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border-color: var(--border-subtle);
    box-shadow: none;
}

.event-card.card-completed .btn-card-action.btn-reopen:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

/* Card Transitions */
.card-anim-exit {
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
}

.card-anim-enter {
    transform: translateY(15px);
    opacity: 0;
}

/* Blank slate (empty state) */
.empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 1px dashed rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.01);
    animation: fadeIn 0.4s ease;
}

.empty-state svg {
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 0.25rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1000;
}

.toast {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 280px;
    max-width: 400px;
    transform: translateY(20px);
    opacity: 0;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-success {
    border-left: 3px fill #10b981;
    border-left: 3px solid #10b981;
}

.toast-info {
    border-left: 3px solid #8b5cf6;
}

.toast svg {
    flex-shrink: 0;
}

.toast-success svg {
    color: #10b981;
}

.toast-info svg {
    color: #8b5cf6;
}

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

.toast.toast-exit {
    animation: toastSlideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideOut {
    to {
        transform: translateY(15px) scale(0.95);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .app-container {
        padding: 1.5rem 1rem;
    }
    
    .header-main {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .status-badges {
        width: 100%;
        justify-content: flex-start;
    }
    
    .header-action-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.875rem;
    }
    
    .api-controls {
        width: 100%;
    }
    
    .api-controls .btn {
        flex: 1;
    }
    
    .kanban-column {
        max-height: 550px;
    }
}

/* ==========================================
   ESTILOS PREMIUM E INTERATIVIDADE NEW LIFE
   ========================================== */

/* Ajuste de Destaque para Compromissos em Aberto (Item 3) */
#col-open .event-card {
    background: linear-gradient(145deg, rgba(28, 35, 60, 0.6) 0%, rgba(18, 22, 38, 0.5) 100%);
    box-shadow: var(--shadow-sm), 0 4px 12px -2px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.08);
}

#col-open .event-card:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(145deg, rgba(35, 44, 76, 0.8) 0%, rgba(22, 27, 48, 0.6) 100%);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.12);
}

#col-open .event-card .card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

#col-open .event-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.015) 100%);
    pointer-events: none;
}

/* Feedback visual de Drag and Drop para Colunas */
.kanban-column {
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.kanban-column.drag-over {
    background: rgba(99, 102, 241, 0.06) !important;
    border-color: rgba(99, 102, 241, 0.35) !important;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.08);
}

.kanban-column.drag-over .column-cards {
    background: rgba(255, 255, 255, 0.01);
}

/* Estado de card sendo arrastado */
.event-card.dragging {
    opacity: 0.35;
    transform: scale(0.96) rotate(1deg);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    cursor: grabbing !important;
}

/* Estilo para Badges especiais e contadores (Item 3) */
.card-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.1rem;
}

.active-badge-neon {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(236, 72, 153, 0.09);
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: #f472b6;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    letter-spacing: 0.08em;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.2);
    animation: neonGlowPulse 2.2s infinite ease-in-out;
}

@keyframes neonGlowPulse {
    0% { 
        box-shadow: 0 0 6px rgba(236, 72, 153, 0.15); 
        border-color: rgba(236, 72, 153, 0.3);
        background: rgba(236, 72, 153, 0.09);
    }
    50% { 
        box-shadow: 0 0 16px rgba(236, 72, 153, 0.45); 
        border-color: rgba(236, 72, 153, 0.6);
        background: rgba(236, 72, 153, 0.15);
    }
    100% { 
        box-shadow: 0 0 6px rgba(236, 72, 153, 0.15); 
        border-color: rgba(236, 72, 153, 0.3);
        background: rgba(236, 72, 153, 0.09);
    }
}

.upcoming-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #c7d2fe;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Ajustes no Alerta de Configuração pendente */
#setup-alert-banner {
    margin-bottom: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

#setup-alert-banner:hover {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.1);
}

