/* General layout */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f5f6fa;
    color: #333;
    font-size: 13px;
    line-height: 1.6;
}
a {
    color: #085587;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Header y navbar */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}
.navbar a {
    color: #333 !important;
}

.sidebar, .main-sidebar {
    display: none !important;
}

.sidebar-toggle {
    display: none;
}

.content-wrapper {
    margin: auto;
}

.breadcrumb {
    height: 20px;
}

/* Dashboard blocks */
.box, .small-box {
    background: #ffffff !important;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

.box h3, .small-box h3 {
    font-size: 20px;
    font-weight: 600;
}

.box-footer {
    background-color: transparent;
    border-top: none;
}

.sonata-ba-content .row .col-md-6 {
    width: 100%;
}

.cms-block-element {
    width: 90%;
    max-width: 500px;
    margin: auto;
}

/* Table (list view) */
.table {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.table th {
    background-color: #f8f9fb;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.table td {
    vertical-align: middle;
    border-bottom: 1px solid #f1f1f1;
    padding: 12px 10px;
}

/* Form */
form .form-group {
    margin-bottom: 20px;
}

.form-control {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 8px 12px;
}

.color-input {
    width: 48px;
    height: 45px;
}

/* Buttons */
.btn {
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 14px;
}

.btn-primary {
    background-color: #085587;
    border-color: #085587;
}

.btn-primary:hover {
    background-color: #085587;
}

/* LOGIN */
.login-page {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    height: 100vh;
    background: #f4f6f9;
    background-image: url('/images/login.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-blend-mode: luminosity;
}

.login-page .main-header {
    height: 0;
}

.login-box {
    width: 100%;
    max-width: 400px;
    background-color: white;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: -2px 0 10px rgba(0,0,0,0.05);
    margin: 0;
    height: 100vh;
}

.login-box-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -50px;
}

.login-logo img {
    max-width: 250px;
}

.btn-lg {
    display: block;
    margin: auto;
}

/* DASHBOARD SIDE BAR */
.logo img {
    max-width: 100%;
}

/* FORM */
.sonata-ba-tabs {
    display: flex;
}

tr {
    margin: 8px;
}

.sonata-avatar {
    width: 50px;
    height: 50px !important;
    border-radius: 50%;
    object-fit: cover;
}

