html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Quicksand', 'Segoe UI', sans-serif;
    background: #DED9B1;
    color: #804000;
    display: flex;
    flex-direction: column;
}

.sidebar {
    width: 250px;
    min-height: 100vh;
    background: #BC9F89;
    border-right: 2px solid #A67551;
}

.sidebar h4 {
    color: #804000;
    padding: 20px;
    margin: 0;
    border-bottom: 1px solid #A67551;
    font-weight: bold;
}

.sidebar a {
    display: block;
    padding: 15px 20px;
    color: #804000;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.sidebar a:hover, .sidebar a.active {
    background: #DED9B1;
    color: #804000;
}

.content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.navbar {
    background: #BC9F89;
    border-bottom: 2px solid #A67551;
}

.contenido {
    flex: 1 0 auto;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero {
    height: 90vh;
    background: linear-gradient(135deg, #DED9B1, #C7D96F);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    border-radius: 15px;
    border: none;
    background: #fdfdfd;
}

.img-tabla {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #C7D96F;
}

.btn-main {
    background: #C7D96F;
    color: #804000;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(128, 64, 0, 0.2);
    transition: all 0.3s ease;
    margin: 10px;
    text-decoration: none;
    display: inline-block;
}

.btn-main:hover {
    background: #A67551;
    color: #DED9B1;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(128, 64, 0, 0.3);
}

.auth-card {
    background: #BC9F89;
    border: 1px solid #A67551;
    border-radius: 20px;
    color: #804000;
    max-width: 450px;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(128, 64, 0, 0.1);
}

.form-control {
    background: #DED9B1;
    border: 1px solid #BC9F89;
    color: #804000;
}

.form-control:focus {
    background: #fdfdfd;
    color: #804000;
    border-color: #C7D96F;
    box-shadow: 0 0 0 0.25rem rgba(199, 217, 111, 0.5);
}

.footer {
    flex-shrink: 0;
    background: #804000;
    color: #DED9B1;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

.nav-pills .nav-link { 
    color: #A67551; 
}

.nav-pills .nav-link.active { 
    background: #C7D96F; 
    color: #804000; 
}