/* Custom styles for Sanctions Checker */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

.footer {
    margin-top: auto;
}

/* Custom colors */
.bg-sanctions {
    background-color: #343a40;
    color: white;
}

/* Card styling */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: none;
    margin-bottom: 1.5rem;
}

.card-header {
    font-weight: 500;
}

/* Search form styling */
.search-form {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* Table styling */
.table-responsive {
    border-radius: 0.25rem;
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
}

/* Button styling */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Custom Button Styles */
.btn-brand-blue {
    background-color: #00194C;
    border-color: #00194C;
    color: #fff;
}

.btn-brand-blue:hover,
.btn-brand-blue:focus {
    background-color: #001133; /* Darker shade for hover/focus */
    border-color: #000f2d; /* Slightly darker border */
    color: #fff;
}

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

/* Pagination styling */
.pagination {
    margin-bottom: 0;
}

/* Form styling */
.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* === STYLES MOVED FROM INDEX.HTML === */

body, .card, .form-control, .btn, .table { font-family: 'Inter', Arial, sans-serif; }
.hero-section {
background-color: #00194C;
background-image: url('/static/images/world_map_overlay.png');
background-repeat: no-repeat;
background-size: 800px auto; /* Set fixed width, auto height */
background-position: 95% 50%; /* Adjust this for world map position */
background-blend-mode: color-burn, multiply;
color: white;
margin-bottom: 1.5rem; /* Restore space below hero */
padding: 0 0 6rem 0; /* Restore bottom padding */
position: relative; /* Restore for full-width trick */
overflow: hidden; /* Restore for full-width trick */
width: 100vw; /* Restore for full-width trick */
left: 50%; /* Restore for full-width trick */
right: 50%; /* Restore for full-width trick */
margin-left: -50vw; /* Restore for full-width trick */
margin-right: -50vw; /* Restore for full-width trick */
}
/* Re-add rule to pad container inside hero */
.hero-section .container {
    padding-top: 6rem; /* Control vertical spacing here */
}
    .hero-content {
max-width: 820px; /* Max width for hero content */
margin-left: 2.2rem; /* Custom increased left margin */
}
@media (max-width: 576px) {
.hero-content {
margin-left: 0.75rem; /* Slightly less margin on mobile */
}
}

.hero-title {
font-size: 2.2rem; /* Adjust this for heading size */
font-weight: 700;
margin-bottom: 1.2rem; /* Adjust space below heading */
max-width: 800px;
/* You can add text-align or color here if needed */
}
.hero-search-form {
display: flex;
max-width: 600px; /* Adjust this for search bar width */
margin-bottom: 1.6rem; /* Adjust space below search bar */
}
.hero-search-input {
height: 2.1rem; /* Adjust this for search bar height */
font-size: 0.95rem; /* Adjust this for search input text size */
border-radius: 0.25rem 0 0 0.25rem;
border: none;
box-shadow: none;
padding-left: 1rem; /* Adjust this for search input padding */
flex: 1;
}
.hero-search-btn {
border-radius: 0 0.25rem 0.25rem 0;
background-color: #4DC780; /* Adjust this for button color */
color: #00194C; /* Adjust this for button text color */
border: none;
font-weight: 700;
font-size: 0.95rem; /* Adjust this for button text size */
padding: 0 1.2rem; /* Adjust this for button padding */
}
.hero-search-btn:hover {
background-color: #3abf6f; /* Adjust this for button hover color */
}

.stats-line {
display: flex;
align-items: center;
max-width: 600px; /* Match the search form's max-width */
font-size: 0.8rem;
color: rgba(255,255,255,0.92);
}
.stats-line .dot-separator {
margin: 0 0.18rem;
color: #fff;
font-size: 1.1em;
opacity: 0.7;
user-select: none;
}
.stats-line a {
color: #fff;
text-decoration: underline;
}
.stats-line a:hover {
color: #26db55;
}

/* Style for the new Search Type elements */
.search-type-label {
    color: rgba(255, 255, 255, 0.85); /* Match other stats text */
    font-size: 0.8rem; /* Match other stats text */
    margin-bottom: 0; /* Align vertically with select */
}

.search-type-select.form-select-sm {
    background-color: #e9ecef; /* Light grey background */
    border: 1px solid #ced4da; /* Subtle border */
    color: #343a40; /* Dark text */
    font-size: 0.8rem; /* Match other stats text */
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    padding-left: 0.5rem;
    width: 80px; /* Adjust width as needed */
    /* Reset default Bootstrap focus */
    box-shadow: none;
}

.search-type-select.form-select-sm:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .25);
    background-color: #e9ecef; /* Keep background on focus */
}

/* === END STYLES MOVED FROM INDEX.HTML === */