/* mucbike+ Custom Styles */

:root {
    --primary: #0d6efd;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    border-radius: 0 0 15px 15px;
}

.card {
    border-radius: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
}

.bike-card {
    cursor: pointer;
    border: 2px solid transparent;
}

.bike-card:hover {
    border-color: var(--primary);
}

/* Bike ID Input Styling */
#bikeIdInput {
    border: 3px solid #0d6efd;
    border-radius: 15px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

#bikeIdInput:focus {
    border-color: #0a58ca;
    box-shadow: 0 0 0 0.5rem rgba(13, 110, 253, 0.25);
    transform: scale(1.02);
}

#bikeIdInput::placeholder {
    color: #adb5bd;
    font-size: 1.2rem;
}

.btn {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
}

.btn-success {
    background: linear-gradient(45deg, #56ab2f, #a8e063);
    border: none;
}

.btn-danger {
    background: linear-gradient(45deg, #eb3349, #f45c43);
    border: none;
}

.btn-secondary {
    background: linear-gradient(45deg, #6c757d, #5a6268);
    border: none;
}

/* Debt Screen Styling */
#debtScreen .display-3 {
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(220, 53, 69, 0.3);
}

.nav-pills .nav-link {
    border-radius: 10px;
}

.nav-pills .nav-link.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 12px;
    transition: border-color 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.alert {
    border-radius: 10px;
    border: none;
}

.badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-radius: 15px 15px 0 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* PWA Specific */
@media (display-mode: standalone) {
    body {
        padding-top: 20px;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .card {
        margin-bottom: 15px;
    }
    
    .display-1 {
        font-size: 3rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* Toast Styling */
.toast {
    border-radius: 10px;
    border: none;
}

/* Icon Sizes */
.bi {
    vertical-align: middle;
}

/* Card Headers */
.card-header {
    border-radius: 15px 15px 0 0 !important;
}

/* Success Animation */
@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.bi-check-circle-fill {
    animation: checkmark 0.5s ease-in-out;
}
