/* Custom Styles for epay.uno - Blue Theme #95ACBD */

:root {
    --primary-color: #95ACBD;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #95ACBD;
}

/* Login Page */
.login-page {
    background: linear-gradient(135deg, #95ACBD 0%, #4a90c8 50%, #1e5a8f 100%);
    min-height: 100vh;
}

.login-box {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dashboard Cards */
.small-box {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.small-box:hover {
    transform: translateY(-5px);
}

/* Product Cards */
.card-product {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.card-product:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.card-product img {
    border-radius: 8px;
}

/* Sidebar Customization */
.main-sidebar {
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.brand-link {
    font-weight: 700;
}

/* Navbar Customization */
.main-header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Buttons */
.btn {
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Tables */
.table {
    font-size: 0.9rem;
}

.table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
}

/* Forms */
.form-control {
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Badges */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 600;
}

/* Progress Bars */
.progress {
    border-radius: 10px;
    height: 10px;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    background-color: #f8f9fa;
}

/* Animations */
.animation__shake {
    animation: shake 1s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* Responsive */
@media (max-width: 768px) {
    .small-box {
        margin-bottom: 1rem;
    }
    
    .card-product {
        margin-bottom: 1rem;
    }
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Status Indicators */
.status-online {
    width: 10px;
    height: 10px;
    background-color: #28a745;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.status-offline {
    width: 10px;
    height: 10px;
    background-color: #dc3545;
    border-radius: 50%;
    display: inline-block;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #95ACBD;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e5a8f;
}