:root {
    --bg-dark: #0a0b10;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f0f0f5;
    --text-dim: #94a3b8;
    --accent-primary: #6366f1;
    --accent-secondary: #a855f7;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: clip;
    min-height: 100vh;
}

/* Background Animated Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 22%, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0) 42%),
        radial-gradient(circle at 82% 78%, rgba(168, 85, 247, 0.14) 0%, rgba(168, 85, 247, 0) 45%),
        linear-gradient(180deg, #080911 0%, #0a0b10 55%, #090a12 100%);
}

.background-blobs::before,
.background-blobs::after {
    content: "";
    position: absolute;
    inset: -30%;
    pointer-events: none;
}

.background-blobs::before {
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.02) 0,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 30px
        );
    opacity: 0.28;
    animation: driftPattern 20s linear infinite;
}

.background-blobs::after {
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.045) 0.8px, transparent 0.8px);
    background-size: 22px 22px;
    opacity: 0.2;
    animation: driftPatternReverse 26s linear infinite;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out, pulse 8s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation-duration: 25s;
    animation-delay: -2s;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) scale(1);
    }

    33% {
        transform: translateY(-30px) translateX(20px) scale(1.05);
    }

    66% {
        transform: translateY(20px) translateX(-40px) scale(0.95);
    }

    100% {
        transform: translateY(0) translateX(0) scale(1);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        filter: blur(80px);
    }

    100% {
        opacity: 0.6;
        filter: blur(60px);
    }
}

@keyframes driftPattern {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-26px, -18px, 0);
    }
}

@keyframes driftPatternReverse {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(22px, 16px, 0);
    }
}

@keyframes loginAmbientZoom {
    0% {
        background-size: 100% auto;
    }

    100% {
        background-size: 108% auto;
    }
}

@keyframes loginCardFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-6px);
    }
}

@keyframes mascotFloat {
    from {
        transform: translateY(-50%) translateX(0) scale(1.42);
    }

    to {
        transform: translateY(calc(-50% - 8px)) translateX(2px) scale(1.42);
    }
}

@keyframes mouthTalkWide {
    0%, 100% {
        transform: scaleX(1) scaleY(1);
    }

    40% {
        transform: scaleX(1.1) scaleY(0.75);
    }

    70% {
        transform: scaleX(0.9) scaleY(1.25);
    }
}

@keyframes mouthTalkDot {
    0%, 100% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.35, 0.7);
    }

    80% {
        transform: scale(0.9, 1.25);
    }
}

@keyframes mouthTalkRound {
    0%, 100% {
        transform: scale(0.95);
    }

    35% {
        transform: scale(1.12, 0.78);
    }

    68% {
        transform: scale(0.88, 1.18);
    }
}

@keyframes mouthTalkSmall {
    0%, 100% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.18, 0.84);
    }

    76% {
        transform: scale(0.85, 1.2);
    }
}

@keyframes logoBreathe {
    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0.2));
    }

    50% {
        transform: scale(1.025);
        filter: drop-shadow(0 8px 18px rgba(255, 255, 255, 0.14));
    }
}

/* Layout Container */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 2rem;
}

/* Typography & Header */
header {
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    text-align: left;
}

.logo-image {
    display: block;
    height: auto;
    max-width: 100%;
}

.logo-image-header {
    width: 100px;
}

.logo-image-login {
    width: 180px;
    animation: logoBreathe 4.5s ease-in-out infinite;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo p {
    color: var(--text-dim);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    padding: 0;
    min-width: unset;
    position: relative;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1); /* light red hover */
    color: var(--error);
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}

.logout-btn i {
    width: 22px;
    height: 22px;
}

/* Tooltips */
.logout-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -130%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.logout-btn:hover::after {
    opacity: 1;
    bottom: -150%;
}

/* Card Styles & Glassmorphism */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.card {
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Form Styles */
.input-group {
    display: flex;
    gap: 1rem;
}

input[type="url"],
select {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

input[type="url"]:focus,
select:focus {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

button {
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

button:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

button:active {
    transform: scale(0.98);
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 1rem;
}

/* Tracker Section Styles */
.section-header {
    margin-bottom: 2rem;
}

.section-subtitle {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: -1rem;
}

/* Channel Chips */
.channel-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    overflow: hidden;
    max-width: 100%;
}

.channel-chips::-webkit-scrollbar {
    height: 4px;
}

.channel-chips::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.chip {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
}

.chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.chip.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Table Design */
.table-container {
    position: relative;
    overflow-x: auto;
    border-radius: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    padding: 1rem 1.5rem;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--glass-border);
}

td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.95rem;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr {
    transition: var(--transition);
}

tbody tr:hover:not(.empty-state) {
    background: rgba(255, 255, 255, 0.02);
}

.empty-state {
    text-align: center;
    color: var(--text-dim);
}

/* Badges & Metrics */
.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-viral {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-hot {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.score-cell {
    font-weight: 700;
    color: var(--accent-secondary);
    font-size: 1.1rem;
}

.video-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.video-title {
    font-weight: 500;
    color: var(--text);
}

.video-meta {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.actions-cell {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    align-items: center;
}

.divider {
    width: 1px;
    height: 20px;
    background: var(--glass-border);
    margin: 0 0.5rem;
}

.header-main {
    text-align: left;
}

.action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    width: 46px;
    height: 46px;
    padding: 0;
    min-width: unset;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.action-btn:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-2px) scale(1.05);
}

.action-btn.btn-approve:hover {
    background: var(--success);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.action-btn.btn-reject:hover {
    background: var(--error);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.action-btn i,
.action-btn svg {
    width: 22px;
    height: 22px;
}

/* Tooltips */
.action-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.action-btn:hover::after {
    opacity: 1;
    bottom: 130%;
}

.text-center {
    text-align: center;
}

.view-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.view-link:hover {
    text-decoration: underline;
}

/* Loaders */
.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 11, 16, 0.7);
    z-index: 10;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Entrance Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden {
    display: none !important;
}

.error-text {
    color: var(--error);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.refresh-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-primary);
}

.submission-status {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.submission-status h3 {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pending-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pending-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease-out;
}

.pending-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.pending-info .url {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pending-info .status-msg {
    font-size: 0.75rem;
    color: var(--accent-primary);
}

.tiny-loader {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 107, 107, 0.2);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tracker-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
}

.toast {
    background: rgba(10, 11, 16, 0.9);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: toastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 300px;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--error);
}

.toast i {
    width: 20px;
    height: 20px;
}

.toast.success i {
    color: var(--success);
}

.toast.error i {
    color: var(--error);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.toast.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s, transform 0.5s;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding-bottom: 2rem;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* Tablet & Mobile Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .logo-image-header {
        width: 140px;
    }

    .logo-image-login {
        width: 165px;
    }

    .login-card {
        width: 440px;
        margin: 0 auto;
        padding: 2.6rem 2rem;
    }

    .login-mascot {
        display: none;
    }

    .login-stage {
        width: 100%;
        display: block;
    }

    .input-group {
        flex-direction: column;
    }

    button {
        width: 100%;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .selector-wrapper {
        width: 100%;
    }
}

/* Status Row Classes */
tr.row-approved {
    background: rgba(34, 197, 94, 0.05);
    border-left: 4px solid #22c55e;
}

tr.row-approved:hover {
    background: rgba(34, 197, 94, 0.08) !important;
}

tr.row-rejected {
    background: rgba(239, 68, 68, 0.05);
    border-left: 4px solid #ef4444;
}

tr.row-rejected .video-title,
tr.row-rejected .score-value,
tr.row-rejected .video-meta {
    text-decoration: line-through;
    opacity: 0.6;
}

tr.row-approved .score-value {
    color: #22c55e;
    font-weight: 700;
}

/* Gender-specific Approved Styles */
tr.row-approved-hellen {
    background: rgba(236, 72, 153, 0.05); /* pink-500 */
    border-left: 4px solid #ec4899; 
}
tr.row-approved-hellen:hover {
    background: rgba(236, 72, 153, 0.08) !important;
}
tr.row-approved-hellen .score-value {
    color: #ec4899;
}

tr.row-approved-guilherme {
    background: rgba(59, 130, 246, 0.05); /* blue-500 */
    border-left: 4px solid #3b82f6; 
}
tr.row-approved-guilherme:hover {
    background: rgba(59, 130, 246, 0.08) !important;
}
tr.row-approved-guilherme .score-value {
    color: #3b82f6;
}

/* Finalized Output Style */
tr.row-finalized {
    opacity: 0.4;
    filter: grayscale(1);
    background: transparent;
    border-left: 4px solid var(--text-dim);
}
tr.row-finalized:hover {
    background: rgba(255, 255, 255, 0.02) !important;
}
tr.row-finalized .score-value {
    color: var(--text-dim);
}

.badge-date {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.badge-approver {
    color: white;
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.badge-hellen {
    background: #ec4899;
    border: 1px solid #be185d;
}

.badge-guilherme {
    background: #3b82f6;
    border: 1px solid #1d4ed8;
}

.badge-finalized {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.2);
    margin-left: 0.5rem;
    font-weight: 500;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
}

.action-btn.btn-finalize:hover {
    background: var(--success);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    color: white;
}

.action-btn.btn-undo:hover {
    background: var(--text-dim);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    color: white;
}

/* Sidebar Todo App Grid Layout */
.app-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.app-grid > main,
.submission-section,
.tracker-section {
    min-width: 0;
}

@media (max-width: 1024px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar-todo {
        order: -1; 
    }
}

.sidebar-todo {
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-todo::-webkit-scrollbar {
    display: none;
}

.sidebar-header {
    margin-bottom: 1.5rem;
}

.sidebar-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.todo-section {
    margin-bottom: 1.5rem;
}

.todo-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.todo-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    font-weight: 700;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.todo-add-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.todo-add-btn i,
.todo-add-btn svg {
    width: 14px;
    height: 14px;
}

.todo-add-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
}

.hellen-title {
    color: #ec4899;
    border-bottom-color: rgba(236, 72, 153, 0.3);
}

.guilherme-title {
    color: #3b82f6;
    border-bottom-color: rgba(59, 130, 246, 0.3);
}

.todo-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.todo-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.todo-item-hellen {
    border-left: 3px solid #ec4899;
    background: linear-gradient(90deg, rgba(236, 72, 153, 0.08) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.todo-item-guilherme {
    border-left: 3px solid #3b82f6;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.08) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.todo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.todo-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.todo-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.todo-meta {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.todo-body {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.todo-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.todo-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    padding: 0 !important;
    flex: 0 0 32px !important;
    box-sizing: border-box;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.todo-btn i {
    width: 16px;
    height: 16px;
}

.todo-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.todo-empty {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px dashed var(--glass-border);
}

.btn-finalize-todo:hover {
    background: rgba(34, 197, 94, 0.15) !important;
    color: #22c55e !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
}

.todo-item.todo-completed {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
    transform: scale(0.98);
}

.todo-item.todo-completed .todo-body {
    text-decoration: line-through;
    color: #22c55e;
}

.todo-item.todo-completed::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #22c55e;
    animation: strike 0.3s ease-out forwards;
}

@keyframes strike {
    0% { width: 0; }
    100% { width: 80%; }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    display: none;
    opacity: 0;
}

.modal-content {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    animation: slideInUp 0.3s ease;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.modal-content h3 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.modal-helper-text {
    margin-top: -1rem;
    margin-bottom: 1rem;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-primary);
    outline: none;
}

/* Fix select options visibility */
.form-group select option {
    background: var(--bg-dark);
    color: var(--text-main);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-cancel {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    min-width: 100px;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-confirm {
    background: var(--accent-gradient);
    min-width: 100px;
}

/* Login Screen Styles */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    overflow: hidden;
}

.login-screen::before {
    content: "";
    position: absolute;
    inset: -4%;
    background:
        linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
        url("assets/ChatGPT Image 18 de mar. de 2026, 23_25_43.png") center/cover no-repeat;
    animation: loginAmbientZoom 16s ease-in-out infinite alternate;
    transition: filter 0.45s ease;
    z-index: 0;
}

.login-screen.login-card-hover::before {
    filter: blur(16px) saturate(1.08) brightness(0.85);
}

.login-stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(320px, 390px) minmax(460px, 520px);
    align-items: flex-end;
    column-gap: 32px;
    width: min(980px, 96vw);
}

.login-mascot {
    position: relative;
    width: 390px;
    height: 450px;
    margin-left: -100px;
    user-select: none;
    overflow: visible;
}

.monster {
    position: relative;
    position: absolute;
    transform: scale(1.7);
    transform-origin: top left;
}

.monster-eyes {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.mascot-eye {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f7f7f7;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.mascot-pupil {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #1e293b;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.08s linear;
}

.eye-large {
    width: 36px;
    height: 36px;
}

.monster-mouth {
    position: absolute;
    background: #1f3a66;
    border-radius: 16px;
    transform-origin: center;
}

.mouth-wide {
    width: 38px;
    height: 16px;
    left: 58px;
    top: 26px;
    animation: mouthTalkWide 2.1s ease-in-out infinite;
}

.mouth-dot {
    width: 14px;
    height: 10px;
    right: 19px;
    top: 88px;
    animation: mouthTalkDot 2.3s ease-in-out infinite;
}

.mouth-round {
    width: 22px;
    height: 22px;
    left: 36px;
    top: 58px;
    animation: mouthTalkRound 1.9s ease-in-out infinite;
}

.mouth-small {
    width: 14px;
    height: 14px;
    left: 31px;
    top: 50px;
    animation: mouthTalkSmall 2.2s ease-in-out infinite;
}

.monster-pink-tall {
    width: 130px;
    height: 190px;
    left: 18px;
    top: 16px;
}

.monster-pink-tall::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 0;
    width: 112px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ff6a95 0%, #eb4b73 100%);
}

.monster-pink-tall::after {
    content: "";
    position: absolute;
    top: 46px;
    left: 78px;
    width: 16px;
    height: 134px;
    background: #eb4b73;
    border-radius: 12px;
    box-shadow: -26px 0 0 0 #f45480;
    transform: skewX(-8deg);
}

.monster-pink-tall .monster-eyes {
    position: absolute;
    top: -2px;
    left: 56px;
}

.monster-ghost {
    width: 108px;
    height: 190px;
    right: 6px;
    top: 58px;
    background: linear-gradient(180deg, #f5bfd5 0%, #e7a4c1 100%);
    border-radius: 58px 58px 8px 8px;
}

.monster-ghost .monster-eyes {
    position: absolute;
    top: 48px;
    left: 22px;
}

.monster-cloud {
    width: 95px;
    height: 110px;
    left: 30px;
    top: 116px;
    background: #75d8d9;
    border-radius: 55% 45% 50% 50%;
    box-shadow:
        -20px 6px 0 -8px #75d8d9,
        18px 12px 0 -10px #75d8d9,
        -8px -18px 0 -10px #75d8d9,
        14px -16px 0 -12px #75d8d9;
}

.monster-cloud::before,
.monster-cloud::after {
    content: "";
    position: absolute;
    bottom: -38px;
    width: 11px;
    height: 40px;
    background: #75d8d9;
}

.monster-cloud::before {
    left: 22px;
}

.monster-cloud::after {
    right: 24px;
}

.monster-cloud .monster-eyes {
    position: absolute;
    top: 24px;
    left: 23px;
}

.monster-blue-round {
    width: 84px;
    height: 98px;
    left: 112px;
    top: 166px;
    background: linear-gradient(180deg, #3d8ff2 0%, #2f7de0 100%);
    border-radius: 50%;
}

.monster-blue-round::before,
.monster-blue-round::after {
    content: "";
    position: absolute;
    bottom: -36px;
    width: 10px;
    height: 38px;
    background: #4f93ea;
}

.monster-blue-round::before {
    left: 26px;
}

.monster-blue-round::after {
    right: 22px;
}

.monster-blue-round .monster-eyes {
    position: absolute;
    top: 29px;
    left: 20px;
}

.login-mascot.looking-away .mascot-pupil {
    transform: translate(calc(-50% - 7px), calc(-50% - 2px)) !important;
}

.login-mascot.looking-away .monster {
    transform: translateX(-3px) rotate(-1deg) scale(1.72);
}

.login-mascot.looking-away .monster-mouth {
    animation-play-state: paused;
    transform: scaleY(0.55);
}

.login-card {
    width: 520px;
    max-width: 94vw;
    margin: 0;
    padding: 3.3rem 3rem;
    position: relative;
    overflow: hidden;
    animation: fadeInDown 0.6s ease-out, loginCardFloat 6s ease-in-out infinite alternate;
    z-index: 1;
}

.login-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 28%, rgba(255, 255, 255, 0) 58%);
    pointer-events: none;
}

.login-card .logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.login-card h1 {
    font-size: 2rem;
    color: var(--text-main);
}

.login-card p {
    color: var(--text-dim);
    margin-top: 0.5rem;
}
