:root {
    --primary-color: #2ecc71;
    --secondary-color: #ffffff;
    --background-color: #f8f9fa;
    --text-color: #212529;
    --danger-color: #e74c3c;
    --success-color: #27ae60;
    --font-size-base: 16px;
    --font-size-large: 18px;
    --font-size-heading: 22px;
    --spacing-unit: 1rem;
    --header-height: 60px;
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    color: var(--text-color);
    font-size: var(--font-size-base);
    line-height: 1.5;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Layout principal */
.container {
    padding-top: calc(var(--header-height) + var(--spacing-unit));
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--spacing-unit);
    padding-right: var(--spacing-unit);
}

/* Header - Tema Moderno */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.header-content {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-unit);
    gap: var(--spacing-unit);
    position: relative;
    z-index: 1;
}

.header-content h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    margin: 0;
    flex: 1;
    text-align: center;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    color: white;
    font-size: var(--font-size-heading);
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

/* Menu de navegação - Tema Moderno */
nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    z-index: 999;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
}

nav.nav-open {
    display: block !important;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1.2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

nav a:hover::before {
    left: 100%;
}

nav a:hover, nav a.active {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    box-shadow: inset 3px 0 0 rgba(255,255,255,0.3);
}

nav a i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

nav a:hover, nav a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Cards - Tema Moderno */
.card {
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.1),
        0 4px 20px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.15),
        0 8px 30px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

.card:hover::before {
    opacity: 1;
}

.card h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #2d3748;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Botões */
.btn-primary, .btn-secondary {
    padding: 1rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: var(--font-size-base);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c59 50%, #6b8e23 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 
        0 8px 25px rgba(45, 80, 22, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    margin-top: 0.5rem;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 18px 45px rgba(45, 80, 22, 0.5),
        0 8px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #4a7c59 0%, #6b8e23 50%, #8fbc8f 100%);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 
        0 8px 25px rgba(45, 80, 22, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid #ddd;
}

/* Adicionar estilo para o botão de pendente */
.btn-pendente {
    background-color: #f39c12;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pendente:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
}

/* Ajustar os estilos existentes dos botões */
.btn-concluir,
.btn-editar,
.btn-excluir,
.btn-pendente {
    width: 35px;
    height: 35px;
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-concluir:hover,
.btn-editar:hover,
.btn-excluir:hover,
.btn-pendente:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Formulários */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #2d5016;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.form-group label i {
    color: #4a7c59;
    font-size: 0.9rem;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #6b8e23;
    font-size: 1rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3rem;
    border: 2px solid rgba(107, 142, 35, 0.2);
    border-radius: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    height: 55px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(45, 80, 22, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
    color: #2d5016;
}

.form-group input::placeholder {
    color: #8fbc8f;
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 
        0 0 0 4px rgba(74, 124, 89, 0.15),
        0 8px 25px rgba(45, 80, 22, 0.12);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

.form-group input:focus + .input-icon,
.form-group select:focus + .input-icon {
    color: #4a7c59;
    transform: scale(1.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background-color: #fff;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.form-buttons {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 10px 0;
    margin-top: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Ajuste para os ícones de ação */
.acoes-item {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

/* Estilização para movimentações */
.movimentacao-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.movimentacao-item .card-header {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.movimentacao-item.entrada .card-header {
    background-color: #e8f5e9;
}

.movimentacao-item.entrada .card-header:hover {
    background-color: #c8e6c9;
}

.movimentacao-item.entrada .card-header h3 {
    color: #2e7d32;
}

.movimentacao-item.saida .card-header {
    background-color: #ffebee;
}

.movimentacao-item.saida .card-header:hover {
    background-color: #ffcdd2;
}

.movimentacao-item.saida .card-header h3 {
    color: #c62828;
}

.movimentacao-item .card-content {
    padding: 15px;
    display: none;
    background-color: white;
}

.movimentacao-info {
    margin-bottom: 15px;
}

.movimentacao-info p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.movimentacao-info i {
    width: 20px;
    text-align: center;
    color: #666;
}

/* Cores dos botões de ação */
.btn-editar { color: #2196F3; }
.btn-concluir { color: #4CAF50; }
.btn-excluir { color: #f44336; }
.btn-pendente { color: #f39c12; }

/* Hover effects para melhor feedback */
.acoes-item button:hover {
    transform: scale(1.2);
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        margin: 10px auto;
        width: 95%;
        padding: 15px;
    }

    :root {
        --spacing-unit: 0.8rem;
    }

    .container {
        padding-top: calc(var(--header-height) + 0.5rem);
    }

    .form-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .form-buttons button {
        width: 100%;
    }
}

@media (max-width: 320px) {
    :root {
        --font-size-base: 14px;
        --font-size-large: 16px;
        --font-size-heading: 20px;
    }
}

/* Estilos da página de login */
.login-page {
    background: #2d5016;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/logo.png') center center;
    background-size: 200px 200px;
    background-repeat: no-repeat;
    opacity: 0.15;
    animation: logoZoom 15s ease-in-out infinite;
}

@keyframes logoZoom {
    0% {
        transform: scale(0.5);
        opacity: 0.1;
    }
    25% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.2;
    }
    75% {
        transform: scale(1);
        opacity: 0.15;
    }
    100% {
        transform: scale(0.5);
        opacity: 0.1;
    }
}

.login-container {
    text-align: center;
    max-width: 380px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Background animado com logo */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.background-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    object-fit: contain;
    opacity: 0.15;
    animation: logoZoom 20s ease-in-out infinite;
    filter: brightness(0.8) saturate(0.5);
}

@keyframes logoZoom {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0.05;
    }
    25% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.0);
        opacity: 0.15;
    }
    75% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0.05;
    }
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 18px 25px 18px;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(45, 80, 22, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(107, 142, 35, 0.2);
    position: relative;
    overflow: visible;
    max-height: 85vh;
    z-index: 15;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2d5016, #4a7c59, #6b8e23, #8fbc8f, #98fb98);
    background-size: 300% 100%;
    animation: shimmer 4s ease-in-out infinite;
}

.login-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(107, 142, 35, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(143, 188, 143, 0.03) 0%, transparent 50%);
    animation: cardGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { background-position: -300% 0; }
    100% { background-position: 300% 0; }
}

@keyframes cardGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}


.error-message {
    color: var(--danger-color);
    text-align: center;
    margin-top: 1rem;
}

/* Estilos do Cachorro com Imagens */
.dog-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 50%;
    box-shadow: 
        0 6px 25px rgba(45, 80, 22, 0.1),
        0 3px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 3px solid rgba(107, 142, 35, 0.3);
    overflow: hidden;
    margin: 0 auto 15px auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: dogFloat 6s ease-in-out infinite;
}

@keyframes dogFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        box-shadow: 
            0 8px 30px rgba(0, 0, 0, 0.12),
            0 4px 15px rgba(0, 0, 0, 0.08);
    }
    50% { 
        transform: translateY(-5px) scale(1.02);
        box-shadow: 
            0 12px 40px rgba(0, 0, 0, 0.15),
            0 6px 20px rgba(0, 0, 0, 0.1);
    }
}

.dog-container:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.18),
        0 8px 25px rgba(0, 0, 0, 0.12);
}

.dog-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: imageFadeIn 0.5s ease-out forwards;
}

@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.dog-image:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

/* Estados das imagens */
.dog-image.state-normal {
    display: block;
    opacity: 1;
    animation: imageFadeIn 0.5s ease-out forwards;
}

.dog-image.state-covering {
    display: none;
    opacity: 0;
}

.dog-image.state-peeking {
    display: none;
    opacity: 0;
}

/* Animação quando digita o email - olhando totalmente */
.dog-container.looking-down .dog-image.state-normal {
    display: block !important;
    opacity: 1 !important;
    animation: imageFadeIn 0.4s ease-out forwards !important;
}

.dog-container.looking-down .dog-image.state-covering {
    display: none !important;
    opacity: 0 !important;
}

.dog-container.looking-down .dog-image.state-peeking {
    display: none !important;
    opacity: 0 !important;
}

/* Animação quando digita a senha - orelhas cobrem os olhos */
.dog-container.covering-eyes .dog-image.state-normal {
    display: none !important;
    opacity: 0 !important;
}

.dog-container.covering-eyes .dog-image.state-covering {
    display: block !important;
    opacity: 1 !important;
    animation: imageFadeIn 0.4s ease-out forwards !important;
}

.dog-container.covering-eyes .dog-image.state-peeking {
    display: none !important;
    opacity: 0 !important;
}

/* Animação quando mostra a senha - espiando com um olho */
.dog-container.peeking .dog-image.state-normal {
    display: none !important;
    opacity: 0 !important;
}

.dog-container.peeking .dog-image.state-covering {
    display: none !important;
    opacity: 0 !important;
}

.dog-container.peeking .dog-image.state-peeking {
    display: block !important;
    opacity: 1 !important;
    animation: imageFadeIn 0.4s ease-out forwards !important;
}

/* Container do campo de senha */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    width: 100%;
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #6b8e23;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    z-index: 3;
}

.password-toggle:hover {
    color: #4a7c59;
    background: rgba(74, 124, 89, 0.1);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.2);
}

.password-toggle:active {
    transform: scale(0.9);
}

.password-toggle i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.password-toggle:hover i {
    transform: rotate(5deg);
}

.password-toggle:focus {
    outline: none;
    color: var(--primary-color);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 80, 22, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.loading-overlay.show {
    display: flex;
}

.loading-container {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

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

/* Modal de Logout */
.logout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-in-out;
}

.logout-modal.show {
    display: flex;
}

.logout-modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.logout-modal-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 20px 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logout-modal-header i {
    font-size: 1.5rem;
}

.logout-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.logout-modal-body {
    padding: 25px;
    text-align: center;
}

.logout-modal-body p {
    margin: 0;
    font-size: 1.1rem;
    color: #555;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.logout-modal-footer {
    padding: 20px 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-cancel, .btn-confirm {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    min-width: 100px;
}

.btn-cancel {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.btn-cancel:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-confirm {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-confirm:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .background-logo {
        width: 600px;
        height: 600px;
    }
    
    .login-container {
        max-width: 100%;
        padding: 15px;
    }
    
    .login-card {
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .app-header {
        margin-bottom: 1.5rem;
    }
    
    
    .dog-container {
        width: 90px;
        height: 90px;
        margin-bottom: 20px;
    }
    
    .dog-image {
        width: 80px;
        height: 80px;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group select {
        height: 50px;
        padding: 1rem 1rem 1rem 2.5rem;
        font-size: 0.95rem;
    }
    
    .input-icon {
        left: 12px;
        font-size: 0.9rem;
    }
    
    .btn-primary {
        padding: 1.2rem 2rem;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    
    .password-toggle {
        width: 35px;
        height: 35px;
        right: 12px;
    }
    
    .password-toggle i {
        font-size: 1rem;
    }
    
    .logout-modal-content {
        max-width: 350px;
        margin: 20px;
    }
    
    .logout-modal-header {
        padding: 15px 20px;
    }
    
    .logout-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .logout-modal-body {
        padding: 20px;
    }
    
    .logout-modal-body p {
        font-size: 1rem;
    }
    
    .logout-modal-footer {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-cancel, .btn-confirm {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .background-logo {
        width: 400px;
        height: 400px;
    }
    
    .login-container {
        padding: 10px;
    }
    
    .login-card {
        padding: 20px 15px;
        border-radius: 18px;
    }
    
    
    .dog-container {
        width: 80px;
        height: 80px;
    }
    
    .dog-image {
        width: 70px;
        height: 70px;
    }
    
    .form-group input,
    .form-group select {
        height: 48px;
        padding: 0.9rem 0.9rem 0.9rem 2.2rem;
    }
    
    .input-icon {
        left: 10px;
        font-size: 0.85rem;
    }
    
    .btn-primary {
        padding: 1.1rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Estilo para itens de relatório */
.item-relatorio {
    padding: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.item-relatorio:last-child {
    border-bottom: none;
}

.item-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.item-info p {
    margin: 5px 0;
}

.item-info i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

/* Mensagens de feedback */
.sem-dados {
    text-align: center;
    padding: 20px;
    color: #666;
}

.erro {
    text-align: center;
    padding: 20px;
    color: #f44336;
}

/* Estilos específicos para itens de serviço e saída */
.servico-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.servico-item .card-header {
    padding: 15px;
    background-color: #f3f9ff; /* Azul bem claro */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.servico-item .card-header:hover {
    background-color: #e3f2fd; /* Azul claro no hover */
}

.servico-item .card-header h3 {
    margin: 0;
    font-size: 1.1em;
    color: #1976d2; /* Azul mais escuro */
}

.servico-item .card-content {
    padding: 15px;
    display: none;
    background-color: white;
}

.servico-info {
    margin-bottom: 15px;
}

.servico-info p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.servico-info i {
    width: 20px;
    text-align: center;
    color: #666;
}

.servico-acoes {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Status específicos */
.status-pendente {
    color: #f39c12;
    font-weight: 500;
}

.status-realizado {
    color: #4caf50;
    font-weight: 500;
}

.pagamento-info {
    margin-top: 10px;
    padding: 8px;
    background-color: #fff3e0;
    border-radius: 4px;
    color: #f57c00;
}

/* Estilo para os checkboxes personalizados */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s;
    margin: 5px 0;
}

.checkbox-label:hover {
    background-color: rgba(46, 204, 113, 0.1);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label .checkbox-text {
    position: relative;
    padding-left: 35px;
    font-size: 1em;
    color: #555;
}

.checkbox-label .checkbox-text:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    background-color: white;
    transition: all 0.3s;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-text:before {
    background-color: var(--primary-color);
}

.checkbox-label .checkbox-text:after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-text:after {
    opacity: 1;
}

/* Estilo específico para grupos de checkbox */
.parcelamento-group,
.retirada-caixa-group {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 10px 0;
    border: 1px solid #e9ecef;
}

/* Estilos para lista de clientes */
.cliente-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.cliente-item .card-header {
    padding: 15px;
    background-color: #e8f5e9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.cliente-item .card-header:hover {
    background-color: #c8e6c9;
}

.cliente-item .card-header h3 {
    margin: 0;
    font-size: 1.1em;
    color: #2e7d32;
}

.cliente-item .card-content {
    padding: 15px;
    background-color: white;
}

.cliente-info {
    margin-bottom: 15px;
}

.cliente-info p {
    margin: 5px 0;
}

.cliente-acoes {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cliente-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
}

.cliente-detalhes {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cliente-detalhes.ativo {
    display: block;
}

.barra-pesquisa {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.barra-pesquisa input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    text-align: center;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
    position: fixed;
    bottom: 0;
    width: 100%;
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-family: 'Segoe UI', Arial, sans-serif;
    letter-spacing: 1px;
}

/* Estilos para o resumo financeiro na home - Tema Moderno */
.resumo-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.info-item {
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.1),
        0 4px 16px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.15),
        0 8px 24px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

.info-item:hover::before {
    opacity: 1;
}

.info-item h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-item p {
    font-size: 2.2em;
    font-weight: 700;
    color: #1a202c;
    margin: 15px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-item small {
    color: #718096;
    display: block;
    margin-top: 8px;
    font-weight: 500;
}

/* Estilos para a marca RSystem */
.rsystem-brand {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-bottom: 15px;
}

.rsystem-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0.5));
    border-radius: 2px;
}

/* Estilos para relatórios */
.relatorio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
    margin-top: 20px;
}

.relatorio-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.relatorio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.relatorio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.relatorio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.relatorio-header h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    font-weight: 600;
    margin: 0;
}

.relatorio-header i {
    font-size: 1.5em;
    opacity: 0.9;
}

.relatorio-valor {
    font-size: 2.5em;
    font-weight: bold;
    margin: 20px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.relatorio-info {
    color: #666;
    font-size: 1em;
}

.relatorio-info p {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.relatorio-info i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: var(--primary-color);
}

.relatorio-periodo {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-size: 1em;
    color: #666;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

/* Responsividade */
@media (max-width: 768px) {
    .relatorio-container {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .relatorio-card {
        padding: 20px;
    }

    .relatorio-valor {
        font-size: 2em;
    }
}

.admin-section {
    padding: 10px !important;
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
}

.admin-section button {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.admin-section button:hover {
    opacity: 1;
}

.pagamento-pendente {
    color: #f39c12;
    font-weight: bold;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #fff3cd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagamento-pendente i {
    font-size: 1.2em;
}

/* Estilização para valores de entrada - Tema Moderno */
.info-item.entradas {
    background: linear-gradient(145deg, rgba(72, 187, 120, 0.1), rgba(56, 178, 172, 0.05));
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.info-item.entradas::before {
    background: linear-gradient(90deg, #48bb78, #38b2ac, #4fd1c7);
}

.info-item.entradas h3 {
    color: #2f855a;
    background: linear-gradient(135deg, #48bb78, #38b2ac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-item.entradas p {
    color: #2f855a;
    text-shadow: 0 2px 4px rgba(72, 187, 120, 0.2);
}

.info-item.entradas small {
    color: #68d391;
}

/* Estilização para valores de saída - Tema Moderno */
.info-item.saidas {
    background: linear-gradient(145deg, rgba(245, 101, 101, 0.1), rgba(252, 165, 165, 0.05));
    border: 1px solid rgba(245, 101, 101, 0.2);
}

.info-item.saidas::before {
    background: linear-gradient(90deg, #f56565, #fc8181, #feb2b2);
}

.info-item.saidas h3 {
    color: #c53030;
    background: linear-gradient(135deg, #f56565, #fc8181);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-item.saidas p {
    color: #c53030;
    text-shadow: 0 2px 4px rgba(245, 101, 101, 0.2);
}

.info-item.saidas small {
    color: #feb2b2;
}

/* Estilização para valores previstos - Tema Moderno */
.info-item.previstos {
    background: linear-gradient(145deg, rgba(66, 153, 225, 0.1), rgba(129, 140, 248, 0.05));
    border: 1px solid rgba(66, 153, 225, 0.2);
}

.info-item.previstos::before {
    background: linear-gradient(90deg, #4299e1, #3182ce, #2b6cb0);
}

.info-item.previstos h3 {
    color: #2b6cb0;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-item.previstos p {
    color: #2b6cb0;
    text-shadow: 0 2px 4px rgba(66, 153, 225, 0.2);
}

.info-item.previstos small {
    color: #90cdf4;
}

/* Estilização para cards de relatório */
.relatorio-card.entradas {
    border-left: 4px solid #4CAF50;
}

.relatorio-card.saidas {
    border-left: 4px solid #f44336;
}

/* Estilos específicos para a página Home */
.filtro-container {
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.filtro-container .form-group {
    margin-bottom: 0;
}

.filtro-container select {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    color: #2d3748;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.filtro-container select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.filtro-container label {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

/* Animações para a página home */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard {
    animation: fadeInUp 0.6s ease-out;
}

.dashboard .card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.dashboard .card:nth-child(1) { animation-delay: 0.1s; }
.dashboard .card:nth-child(2) { animation-delay: 0.2s; }
.dashboard .card:nth-child(3) { animation-delay: 0.3s; }

/* Responsividade Mobile para Home */
@media (max-width: 768px) {
    .resumo-info {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .info-item {
        padding: 20px;
    }
    
    .info-item p {
        font-size: 1.8em;
    }
    
    .card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .card h2 {
        font-size: 1.5em;
    }
    
    .filtro-container {
        padding: 15px;
    }
    
    .header-content h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .resumo-info {
        padding: 10px;
        gap: 10px;
    }
    
    .info-item {
        padding: 15px;
    }
    
    .info-item h3 {
        font-size: 1.1em;
    }
    
    .info-item p {
        font-size: 1.6em;
    }
    
    .card {
        padding: 15px;
        border-radius: 15px;
    }
    
    .filtro-container {
        padding: 10px;
    }
}

/* Toast de Sucesso Estilizado */
.toast-sucesso {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #48bb78, #38b2ac);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(72, 187, 120, 0.3);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 300px;
    max-width: 400px;
}

.toast-sucesso.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.toast-content i {
    font-size: 1.2em;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.toast-content span {
    flex: 1;
    font-size: 0.95em;
    line-height: 1.4;
}

/* Responsividade para toast */
@media (max-width: 768px) {
    .toast-sucesso {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .toast-sucesso.show {
        transform: translateY(0);
    }
}

/* Status de Pagamento Pendente */
.status-pagamento-pendente {
    color: #f39c12;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.status-pagamento-pendente i {
    font-size: 0.9em;
}

/* Botão de Pagamento */
.btn-pagamento {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(243, 156, 18, 0.3);
}

.btn-pagamento:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(243, 156, 18, 0.4);
}

.btn-pagamento:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(243, 156, 18, 0.3);
}

/* Botão de Pagamento Pendente */
.btn-pagamento-pendente {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

.btn-pagamento-pendente:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.4);
}

.btn-pagamento-pendente:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

.relatorio-card.saidas h3 {
    color: #d32f2f;
}

.relatorio-card.saidas .relatorio-valor {
    color: #f44336;
}

.relatorio-card.saidas .relatorio-info {
    color: #e57373;
}

.relatorio-card.previstos {
    border-left: 4px solid #2196f3;
}

.relatorio-card.previstos h3 {
    color: #1976d2;
}

.relatorio-card.previstos .relatorio-valor {
    color: #2196f3;
}

.relatorio-card.previstos .relatorio-info {
    color: #64b5f6;
}

.relatorio-card.lucro {
    border-left: 4px solid #9c27b0;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: white;
    color: #333;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease-out;
    min-width: 280px;
}

.toast.loading {
    background: #2196F3;
    color: white;
}

.toast.success {
    background: #4CAF50;
    color: white;
}

.toast.error {
    background: #f44336;
    color: white;
}

.toast i {
    font-size: 20px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Adicionar aos estilos existentes */
.filtro-container {
    margin: 15px 0;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filtro-container .form-group {
    margin-bottom: 0;
}

.filtro-container select {
    width: 200px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
}

.filtro-container label {
    margin-right: 10px;
    font-weight: bold;
    color: #666;
}

.conta-alerta {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
}

.conta-alerta p {
    margin: 5px 0;
}

.btn-confirmar-pagamento {
    background: none;
    border: none;
    color: #4CAF50;
    cursor: pointer;
    padding: 5px;
    font-size: 1.2em;
    transition: transform 0.2s ease;
}

.btn-confirmar-pagamento:hover {
    transform: scale(1.2);
}

.contas-lista {
    max-height: 300px;
    overflow-y: auto;
    margin: 15px 0;
}

.btn-reverter-pagamento {
    background: none;
    border: none;
    color: #f39c12;
    cursor: pointer;
    padding: 5px;
    font-size: 1.2em;
    transition: transform 0.2s ease;
}

.btn-reverter-pagamento:hover {
    transform: scale(1.2);
}

.modal-large {
    max-width: 800px !important;
    width: 90%;
}

.parcelas-lista {
    margin: 20px 0;
}

.parcelas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.parcela-item {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.parcela-item input[type="date"] {
    width: 100%;
    padding: 5px;
}

.parcela-item input[disabled] {
    background: #eee;
    cursor: not-allowed;
}

.badge-pago {
    background: var(--success-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    align-self: flex-start;
}

.btn-editar-todas {
    background: none;
    border: 1px solid #2196F3;
    color: #2196F3;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-editar-todas:hover {
    background: #2196F3;
    color: white;
}

.btn-editar-todas i {
    font-size: 1em;
}