:root {
    --primary-color: #2D3748;
    --secondary-color: #4A5568;
    --accent-color: #3182CE;
    --background-color: #F7FAFC;
}

html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    margin-bottom: 60px;
    color: var(--primary-color);
    background-color: var(--background-color);
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
}

.form-control {
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(49, 130, 206, 0.1);
}

.btn-primary {
    background-color: var(--accent-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
    background-color: #2B6CB0;
    transform: translateY(-1px);
}

.search-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,.05);
}

.cast-member-card {
    border-radius: 12px;
    overflow: hidden;
}

.cast-member-card img {
    object-fit: cover;
    height: 200px;
    width: 100%;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.section-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}