/* casillas.css */
body {
    font-family: 'Poppins', sans-serif;
    background: #F0F4F8;
    min-height: 100vh;
    margin: 0;
    padding: clamp(64px, 15vw, 80px) 0 clamp(72px, 15vw, 90px);
    overflow-x: hidden;
    color: #1F2A44;
}

.navbar {
    background: #1F2A44;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 16px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: clamp(50px, 12vw, 64px);
}

.navbar-brand {
    color: #F0F4F8;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: clamp(6px, 1.5vw, 8px);
    text-decoration: none;
}

.navbar-brand img {
    height: clamp(30px, 8vw, 36px);
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.btn-logout {
    color: #F0F4F8;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    text-decoration: none;
    transition: color 0.25s ease;
}

.btn-logout:hover {
    color: #FFB400;
}

.content {
    padding: clamp(12px, 3vw, 16px);
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 2vw, 12px);
}

.header-text {
    color: #F0F4F8;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 500;
    text-align: center;
    margin-bottom: clamp(8px, 2vw, 12px);
    background: rgba(31, 42, 68, 0.8);
    padding: clamp(6px, 1.5vw, 8px);
    border-radius: clamp(6px, 1.5vw, 8px);
}

.casilla-card {
    background: #FFFFFF;
    border-radius: clamp(12px, 3vw, 16px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: clamp(10px, 2.5vw, 12px);
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 1.5vw, 8px);
    transition: transform 0.2s ease;
}

.casilla-card:hover {
    transform: scale(1.02);
}

.casilla-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.casilla-header h3 {
    color: #FFB400;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    gap: clamp(4px, 1vw, 6px);
}

.casilla-header i {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.edit-btn {
    background: none;
    border: none;
    color: #FFB400;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.edit-btn:hover {
    transform: scale(1.15);
}

.casilla-info {
    display: flex;
    justify-content: space-between;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    color: #1F2A44;
}

.casilla-info span {
    background: rgba(240, 244, 248, 0.9);
    padding: clamp(3px, 0.8vw, 4px) clamp(6px, 1.5vw, 8px);
    border-radius: clamp(4px, 1vw, 6px);
}

.pesos-list {
    list-style: none;
    padding: 0;
    margin: clamp(6px, 1.5vw, 8px) 0 0;
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 1vw, 6px);
}

.pesos-list li {
    background: rgba(255, 255, 255, 0.95);
    padding: clamp(6px, 1.5vw, 8px);
    border-radius: clamp(6px, 1.5vw, 8px);
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.pesos-list li:hover {
    background: #E8ECEF;
}

.peso-icon {
    color: #FFB400;
    margin-right: clamp(4px, 1vw, 6px);
}

.no-data {
    color: #5A6F88;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    text-align: center;
    padding: clamp(10px, 2.5vw, 12px);
    background: rgba(255, 255, 255, 0.8);
    border-radius: clamp(6px, 1.5vw, 8px);
}

.bottom-nav {
    background: #1F2A44;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: clamp(60px, 15vw, 72px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.bottom-nav-item {
    color: #F0F4F8;
    font-size: clamp(0.65rem, 2vw, 0.75rem);
    text-decoration: none;
    padding: clamp(6px, 1.5vw, 8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    transition: color 0.25s ease, transform 0.25s ease;
    position: relative;
}

.bottom-nav-item i {
    font-size: clamp(1.4rem, 4vw, 1.6rem);
    margin-bottom: clamp(2px, 0.5vw, 4px);
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: #FFB400;
    transform: scale(1.1);
}

.notif-badge {
    position: absolute;
    top: clamp(2px, 0.5vw, 4px);
    right: 25%;
    background: #FF5733;
    color: #F0F4F8;
    border-radius: 50%;
    padding: clamp(1px, 0.5vw, 2px) clamp(4px, 1vw, 6px);
    font-size: clamp(0.55rem, 1.5vw, 0.65rem);
}