/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.logo h1 {
    color: #4361ee;
    font-size: 2rem;
    font-weight: 700;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info span {
    font-weight: 500;
}

button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    transform: translateY(-2px);
}

#logout-btn {
    background-color: #f8f9fa;
    color: #4361ee;
    border: 1px solid #4361ee;
}

#logout-btn:hover {
    background-color: #e9ecef;
}

main {
    flex: 1;
    padding: 30px 0;
}

footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    color: #6c757d;
    font-size: 0.9rem;
}

a {
    text-decoration: none;
    color: #4361ee;
}

a:hover {
    text-decoration: underline;
}

/* Utilitários */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    .user-info {
        width: 100%;
        justify-content: space-between;
    }
}

/* Estilos para notificações */
.notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 8px;
    padding: 15px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: bottom 0.4s ease-in-out;
    z-index: 1000;
    display: flex;
    align-items: center;
    max-width: 90%;
}

.notification.show {
    bottom: 20px;
}

.notification.success {
    border-left: 4px solid #2ec4b6;
}

.notification.error {
    border-left: 4px solid #e63946;
}

.notification.info {
    border-left: 4px solid #4361ee;
}

#notification-message {
    font-size: 1rem;
    color: #343a40;
}

/* Estilos para loaders */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    flex-direction: column;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-bottom-color: #4361ee;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin-bottom: 15px;
}

.loader-text {
    color: #6c757d;
    font-size: 0.9rem;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 