:root {
    --azul-marinho: #003366;
    --azul-claro: #4A90E2;
    --ciano: #00CED1;
    --branco: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

.navbar-custom {
    background-color: var(--azul-marinho);
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: var(--branco) !important;
}

.navbar-custom .nav-link:hover {
    color: var(--ciano) !important;
}

.btn-primary {
    background-color: var(--azul-claro);
    border-color: var(--azul-claro);
}

.btn-primary:hover {
    background-color: var(--azul-marinho);
    border-color: var(--azul-marinho);
}

.btn-info {
    background-color: var(--ciano);
    border-color: var(--ciano);
    color: var(--branco);
}

.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: var(--azul-marinho);
    color: var(--branco);
    font-weight: bold;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--azul-marinho) 0%, var(--azul-claro) 100%);
}

.login-card {
    width: 100%;
    max-width: 400px;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 206, 209, 0.1);
}

.badge-status {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.search-box {
    position: relative;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.search-result-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.search-result-item:hover {
    background-color: rgba(0, 206, 209, 0.1);
}

.dashboard-card {
    cursor: pointer;
    transition: transform 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--azul-marinho);
}

.loading {
    text-align: center;
    padding: 20px;
    color: var(--azul-claro);
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-gallery img {
    cursor: pointer;
    transition: transform 0.2s;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

.image-preview {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    overflow: auto;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
    margin: 0 auto;
    max-width: 500px;
}

.search-result-item {
    cursor: pointer;
}

.search-result-item:hover {
    background-color: var(--ciano);
    color: white;
}

.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}

.toast {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 15px 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    animation: slideIn 0.3s ease-out;
    border-left: 4px solid;
}

.toast.success {
    border-left-color: #198754;
}

.toast.error {
    border-left-color: #dc3545;
}

.toast.info {
    border-left-color: #0dcaf0;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    color: #333;
}

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

.btn-danger {
    font-weight: bold;
}
