/* ==========================================================================
   OSINT Search Engine Styles
   ========================================================================== */

.osint-google-layout {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-background, #fcfcfc);
    color: var(--color-text, #333);
    text-align: center;
    border-bottom: 1px solid var(--color-border, #eee);
    padding: 4rem 1rem;
}

.osint-logo-wrapper {
    margin-bottom: 1rem;
}

.osint-main-logo {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.osint-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.osint-header {
    margin-bottom: 2rem;
}

.osint-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary, #222);
}

.osint-header p {
    font-size: 1rem;
    color: var(--color-muted, #666);
}

/* Search Bar (Google Style) */
.osint-search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    border-radius: 24px;
    background: #fff;
    transition: box-shadow 0.2s;
}

.osint-search-box:hover {
    box-shadow: 0 1px 8px rgba(32, 33, 36, 0.4);
}

.osint-search-input {
    width: 100%;
    border: none;
    padding: 12px 20px 12px 48px;
    border-radius: 24px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.osint-search-icon {
    position: absolute;
    left: 16px;
    color: #9aa0a6;
    pointer-events: none;
}

.osint-search-button {
    background: transparent;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #4285f4;
    border-radius: 0 24px 24px 0;
    transition: background 0.2s;
}

.osint-search-button:hover {
    background: #f1f3f4;
}

/* Spinner */
.osint-spinner {
    display: none;
    margin: 2rem auto;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--color-primary, #333);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Grid */
.osint-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    text-align: left;
    margin-top: 2rem;
}

.osint-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

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

.osint-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.osint-source-gdelt { color: #1a73e8; }
.osint-source-acled { color: #d93025; }
.osint-source-sanctions { color: #f29900; }
.osint-source-relief { color: #188038; }

.osint-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #eee;
}

.osint-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.osint-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.osint-item-meta {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.osint-item-desc {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.osint-item-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #1a73e8;
    text-decoration: none;
}

.osint-item-link:hover {
    text-decoration: underline;
}

.osint-error {
    color: #d93025;
    background: #fce8e6;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}

.osint-empty {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
    text-align: center;
}
