/* vSphere Backup Manager - Custom Styles */

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-container .card {
    border: none;
    border-radius: 15px;
}

/* Navigation */
.navbar-brand {
    font-weight: 600;
}

.nav-link {
    padding: 0.5rem 1rem !important;
}

.nav-link.active {
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
}

/* Main Content */
main {
    padding-bottom: 40px;
}

/* Cards */
.card {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: none;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badges */
.badge {
    font-weight: 500;
}

/* Buttons */
.btn-sm {
    padding: 0.25rem 0.5rem;
}

/* Progress bars */
.progress {
    border-radius: 10px;
}

/* Animations */
.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Code blocks */
code {
    background-color: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

/* Modal */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #eee;
}

.modal-footer {
    border-top: 1px solid #eee;
}

/* Stats Cards */
.card.bg-primary, .card.bg-success, .card.bg-info, .card.bg-warning {
    border: none;
}

.card.bg-primary .card-footer,
.card.bg-success .card-footer,
.card.bg-info .card-footer,
.card.bg-warning .card-footer {
    background: rgba(0,0,0,0.1) !important;
    border-radius: 0 0 10px 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-nav {
        padding-top: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        /* Optional: Add dark mode styles */
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Hover effects */
.table-hover tbody tr:hover {
    background-color: rgba(0,123,255,0.05);
}

.list-group-item-action:hover {
    background-color: rgba(0,123,255,0.1);
}
.card-header { background-color: #1a4b78 !important; border-bottom: 1px solid #2563eb; }
