* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.header {
    text-align: center;
    background: linear-gradient(135deg, #1a5f7a 0%, #0d3d4d 100%);
    color: white;
    padding: 20px 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}



.header h1 {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

.header .title-main {
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border-left: 5px solid #ffc107;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.warning-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.warning p {
    color: #856404;
    font-size: 14px;
    font-weight: 500;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #1a5f7a;
    box-shadow: 0 0 0 4px rgba(26, 95, 122, 0.1);
}

.search-box svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.search-box input::placeholder {
    color: #999;
}

.results-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.results-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-header h3 {
    color: #333;
    font-size: 16px;
}

.results-count {
    background: #1a5f7a;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.results-list {
    max-height: 500px;
    overflow-y: auto;
}

.result-item {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
    cursor: pointer;
}

.result-item:hover {
    background: #f8f9fa;
}

.result-item:last-child {
    border-bottom: none;
}

.result-name {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.result-name .highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    padding: 0;
    border-radius: 4px;
    font-weight: 700;
    color: #333;
}

.result-media {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e3f2fd;
    color: #1565c0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-results p {
    font-size: 16px;
}

.initial-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.initial-state-icon {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.7;
}

.initial-state p {
    font-size: 16px;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 13px;
    margin-top: 20px;
}

.footer .source {
    margin-bottom: 8px;
}

.footer .source a {
    color: #1a5f7a;
    text-decoration: none;
    font-weight: 600;
}

.footer .source a:hover {
    text-decoration: underline;
}

/* Scrollbar styling */
.results-list::-webkit-scrollbar {
    width: 8px;
}

.results-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.results-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.results-list::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

@media (max-width: 600px) {
     body{
        padding: 16px !important;
    }
    .header {
        padding: 15px 12px;
    }

    .header-icon {
        font-size: 24px;
    }

    .header h1 {
        font-size: 11px;
    }

    .header .title-main {
        font-size: 16px;
    }

    .search-section {
        padding:16px;
    }

    .warning {
        flex-direction: column;
        text-align: center;
    }

    .warning p{
      font-size: 13px;
    }
}
