/* Main styles for GPS Location Verification App */

body {
    background-color: #f8f9fa;
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: none;
}

.card-header {
    padding: 1rem;
}

.alert-info {
    background-color: #e3f2fd;
    border-color: #b3e5fc;
    color: #0277bd;
}

#locationStatus {
    transition: all 0.3s ease;
}

.form-label {
    font-weight: 500;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control[readonly] {
    background-color: #f8f9fa;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-primary:disabled {
    background-color: #b3d7ff;
    border-color: #b3d7ff;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    transition: all 0.3s ease;
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #5a6268;
    border-color: #545b62;
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

#resultCard {
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .card {
        margin-bottom: 20px;
    }
}

/* Animation for location refresh */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

#refreshLocationBtn:active {
    animation: pulse 0.3s ease;
}

/* Success/Error styling */
.bg-success {
    background-color: #28a745 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-secondary {
    background-color: #6c757d !important;
}