html {
  font-size: 14px;
}

@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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f8f9fa;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.card-title {
    font-weight: 700;
    color: #333;
}

.ip-badge {
    padding: 0.4em 0.8em;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

.bg-accent-indigo {
    background-color: #6366f1;
    color: white;
}

.bg-accent-teal {
    background-color: #0d9488;
    color: white;
}

.bg-accent-blue {
    background-color: #2563eb;
    color: white;
}

.section-header {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header i {
    color: #6366f1;
}

.text-accent-indigo {
    color: #6366f1 !important;
}

.border-indigo {
    border-color: #6366f1 !important;
}

dt {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9rem;
}

dd {
    color: #111827;
    font-weight: 600;
}

.map-container {
    overflow: hidden;
    border-radius: 12px;
}

.nav-link {
    font-weight: 500;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #6366f1 !important;
}

/* Google Ads Styling */
.google-ad-container {
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed #e5e7eb;
    border-radius: 8px;
    padding: 10px;
    min-height: 120px;
    overflow: hidden;
}

.ad-placeholder-image {
    min-height: 120px;
    border: 1px dashed #dee2e6 !important;
    background-image: linear-gradient(45deg, #f8f9fa 25%, #e9ecef 25%, #e9ecef 50%, #f8f9fa 50%, #f8f9fa 75%, #e9ecef 75%, #e9ecef 100%);
    background-size: 20px 20px;
}

.small-xs {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-indigo {
    background-color: #6366f1;
    color: white;
    border: none;
}

.btn-indigo:hover {
    background-color: #4f46e5;
    color: white;
}

.bg-indigo-soft {
    background-color: #e0e7ff;
}

.text-indigo {
    color: #4338ca;
}

.small-text {
    font-size: 0.75rem;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

main {
    margin-bottom: 60px;
}

.dropdown-item i {
    width: 20px;
}

/* Additional styles for consistency */
.bg-gradient-indigo {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
}

.hover-shadow:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

.transition {
    transition: all 0.3s ease;
}

/* Cookie Consent */
#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 1.25rem 0;
    z-index: 10000;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

#cookie-consent .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

#cookie-consent .consent-text {
    flex: 1;
    min-width: 300px;
    margin-bottom: 0;
    color: #4b5563;
    font-size: 0.925rem;
    line-height: 1.5;
}

#cookie-consent a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
}

#cookie-consent a:hover {
    text-decoration: underline;
}

#cookie-consent .consent-actions {
    display: flex;
    gap: 0.75rem;
}

#cookie-consent .btn-accept {
    background-color: #6366f1;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

#cookie-consent .btn-accept:hover {
    background-color: #4f46e5;
}

#cookie-consent .btn-decline {
    background-color: #f3f4f6;
    color: #4b5563;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

#cookie-consent .btn-decline:hover {
    background-color: #e5e7eb;
}
