/* Estilos propios del sistema - equivalente a Styles/rada.css */

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

/* Topbar */
.topbar-main {
    background: #2c3e50;
    padding: 0 15px;
    min-height: 62px;
    display: flex;
    align-items: center;
}

.topbar-main .logo a {
    display: flex;
    align-items: center;
}

.topbar-main .logo-small { display: none; }
.topbar-main .logo-large { height: 40px; }

.topbar-right-menu {
    display: flex;
    align-items: center;
    margin: 0;
}

.topbar-right-menu .nav-user {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.topbar-right-menu .nav-user img {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.pro-user-name { color: #fff; margin-left: 8px; }

/* Navbar menu */
.navbar-custom {
    background: #34495e;
    padding: 0;
}

.navigation-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navigation-menu > li > a {
    color: #ecf0f1;
    padding: 15px 18px;
    display: block;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s;
}

.navigation-menu > li:hover > a,
.navigation-menu > li.active > a {
    background: #2c3e50;
    color: #fff;
}

.navigation-menu .submenu {
    display: none;
    position: absolute;
    background: #2c3e50;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    min-width: 200px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.navigation-menu > li { position: relative; }

.navigation-menu li:hover > .submenu { display: block; }

.navigation-menu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2c3e50;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    min-width: 220px;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Submenú de segundo nivel */
.navigation-menu .submenu li { position: relative; }

.navigation-menu .submenu .submenu {
    top: 0;
    left: 100%;
}

.navigation-menu .submenu li a {
    color: #ecf0f1;
    padding: 9px 20px;
    display: block;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}
.navigation-menu .submenu li a:hover { background: #3d566e; }

/* Flecha en items con submenú anidado */
.navigation-menu .submenu li.has-submenu > a::after {
    content: ' ›';
    float: right;
    margin-left: 10px;
}

/* Wrapper */
.wrapper {
    padding: 20px 0;
    min-height: calc(100vh - 130px);
}

/* Cards */
.card-box {
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.page-title-box {
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.header-title {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

/* Botones */
.btn-outline-custom {
    border-color: #2c3e50;
    color: #2c3e50;
}
.btn-outline-custom:hover {
    background: #2c3e50;
    color: #fff;
}

.btn-gradient {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: #fff;
    border: none;
}
.btn-gradient:hover {
    background: linear-gradient(135deg, #1a252f, #2980b9);
    color: #fff;
}

/* Login page */
.bg-account-pages { background: #f0f2f5; }

.wrapper-page {
    max-width: 420px;
    margin: 80px auto;
}

.account-pages {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.account-box { background: #fff; }

.account-logo-box {
    background: #2c3e50;
    padding: 30px 20px;
}

.account-logo-box h6 { color: #ecf0f1; }

.account-content { padding: 30px; }

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 15px 0;
    font-size: 13px;
    text-align: center;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    margin: 0;
    font-size: 13px;
}

/* Print */
@media print {
    .omitir-print { display: none !important; }
    .wrapper { padding: 0; }
}
