/* Custom Styles for Spoof Caller ID */

:root {
    --primary-color: #0077C0;
    --primary-hover: #005a94;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Override Tabler primary color */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Card styling */
.card {
    border-radius: 0.75rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Form styling */
.form-control, .form-select {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 119, 192, 0.1);
}

/* Button styling */
.btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

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

.nav-link {
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-item.active .nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Page wrapper */
.page-wrapper {
    min-height: calc(100vh - 3.5rem);
    background-color: #f8f9fa;
}

.page-body {
    padding: 2rem 0;
}

.btn-close:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Statistics cards */
.subheader {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.5px;
}

/* Phone preview */
.phone-preview {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Table styling */
.table-hover tbody tr:hover {
    background-color: rgba(0, 119, 192, 0.05);
}

/* Badge styling */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 500;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Avatar styling */
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-body {
        padding: 1rem 0;
    }
    
    .phone-preview {
        transform: scale(0.9);
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.3s ease;
}

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

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

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

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

/* Alert styling */
.alert {
    border-radius: 0.5rem;
    border: none;
}

.alert-info {
    background-color: rgba(0, 119, 192, 0.1);
    color: var(--primary-color);
}

/* List group */
.list-group-item {
    border: none;
    padding: 0.75rem 0;
}

/* Input group */
.input-group-text {
    background-color: transparent;
}

.input-group .form-control {
    border-right: none;
}

.input-group .form-control:focus + .input-group-text {
    border-color: var(--primary-color);
}

