:root {
    --bs-primary: #5E72E4;
    --bs-primary-rgb: 94, 114, 228;
    --bs-secondary: #f4f5f7;
    --bs-success: #2dce89;
    --bs-danger: #f5365c;
    --bs-info: #11cdef;
    --bs-body-bg: #f8f9fe;
    --bs-body-color: #525f7f;
    --bs-font-sans-serif: 'Inter', sans-serif;
    --bs-border-radius: .375rem;
    --bs-border-radius-lg: .5rem;
    --bs-box-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --bs-box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.card {
    border: none;
    box-shadow: var(--bs-box-shadow-sm);
}

.btn {
    font-weight: 600;
    letter-spacing: .025em;
    transition: all .15s ease;
    border-radius: var(--bs-border-radius-lg);
}

.btn-primary {
    box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--bs-box-shadow);
}

.form-control, .form-select {
    border-color: #cad1d7;
    transition: all .15s ease;
    padding: 0.8rem 1rem;
    border-radius: var(--bs-border-radius-lg);
}

.form-control:focus, .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 1px 3px rgba(50, 50, 93, .1), 0 1px 0 rgba(0, 0, 0, .02);
}

.modal-content {
    border: none;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
    border-radius: var(--bs-border-radius-lg);
}

.modal-header, .modal-footer {
    border: none;
}

.badge {
    padding: 0.5em 0.75em;
    font-weight: 600;
}

.login-body {
    background: #5E72E4;  
    background: linear-gradient(to right, #8f94fb, #5E72E4); 
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: var(--bs-border-radius-lg);
    width: 100%;
    max-width: 450px;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-floating > .form-control {
    background-color: #fff;
}

.area-animada {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circulos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.circulos li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    animation: flotar 25s linear infinite;
    bottom: -180px;
    color: rgba(255, 255, 255, 0.15);
    font-size: 1.5rem;
}

.circulos li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; font-size: 4rem; }
.circulos li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.circulos li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
.circulos li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; font-size: 3rem; }
.circulos li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
.circulos li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; font-size: 5.5rem; }
.circulos li:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; font-size: 7.5rem; }
.circulos li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }
.circulos li:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
.circulos li:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 11s; font-size: 7.5rem; }

@keyframes flotar {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh) rotate(720deg);
        opacity: 0;
    }
}

.client-card {
    background-color: #fff;
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--bs-box-shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bs-box-shadow);
}

.client-card-header {
    padding: 1.25rem 1.25rem 0.75rem;
}

.client-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #344767;
    margin-bottom: 0.25rem;
}

.client-card-subtitle {
    font-size: 0.8rem;
    color: #6c757d;
}

.client-card-body {
    padding: 1.25rem;
    flex-grow: 1;
}

.client-card-footer {
    padding: 0 1.25rem 1.25rem;
    background-color: transparent;
}

.balance-info {
    padding-top: 0.75rem;
}
.balance-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background-color: var(--bs-secondary);
    border-radius: var(--bs-border-radius);
}
.balance-item span:first-child {
    color: #6c757d;
}

.empty-state-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: var(--bs-box-shadow);
}
.empty-state-icon i {
    font-size: 3.5rem;
    color: var(--bs-primary);
}