.similar-websites-section {
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.similar-websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.similar-site-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.25rem;
    transition: all 0.2s;
}

.similar-site-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.site-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.site-favicon {
    width: 20px;
    height: 20px;
}

.site-header h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0;
}

.site-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.status-up {
    background: #dcfce7;
    color: #166534;
}

.status-badge.status-down {
    background: #fee2e2;
    color: #991b1b;
}

.response-time {
    font-size: 0.875rem;
    color: #64748b;
}

.site-metrics {
    margin-bottom: 1rem;
}

.uptime-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.uptime-fill {
    height: 100%;
    background: #22c55e;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.uptime-text {
    font-size: 0.875rem;
    color: #64748b;
}

.site-category {
    margin-bottom: 1rem;
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #eff6ff;
    color: #1e40af;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.view-details {
    display: inline-block;
    color: #3b82f6;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.view-details:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.no-similar {
    grid-column: 1 / -1;
    text-align: center;
    color: #64748b;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    color: #991b1b;
    padding: 1rem;
    background: #fee2e2;
    border-radius: 0.5rem;
}

/* Recent Checks Page Styles */
.recent-checks-page {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    color: #1a1a1a;
    margin: 0;
}

.search-container {
    position: relative;
    flex: 0 0 300px;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-left: 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.status-column {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.column-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.column-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: #1a1a1a;
}

.column-header .subtitle {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.website-list {
    padding: 1rem;
}

.website-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.website-item:hover {
    background-color: #f9fafb;
}

.website-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.website-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
}

.website-link:hover {
    color: #3b82f6;
}

.check-count,
.check-text,
.check-time {
    font-size: 0.875rem;
    color: #6b7280;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-up {
    background-color: #dcfce7;
    color: #166534;
}

.status-down {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        flex: none;
    }
}

/* Hide elements when searching */
.website-item.hidden {
    display: none;
}

.error-message {
    padding: 1rem;
    margin: 1rem 0;
    background-color: #fee2e2;
    border-left: 4px solid #dc2626;
    color: #991b1b;
    border-radius: 0.375rem;
}

/* Modal styles */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: white;
    margin: 2rem auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.5rem;
}

.modal-body {
    padding: 1.5rem;
}

/* Website Details Styles */
.website-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.website-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.website-url {
    font-size: 1.25rem;
    margin: 0;
    color: #1a1a1a;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-item {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.recent-history {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.375rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.view-full-btn, 
.check-now-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
}

.view-full-btn {
    background: #f3f4f6;
    color: #1a1a1a;
    text-decoration: none;
}

.check-now-btn {
    background: #3b82f6;
    color: white;
    border: none;
    cursor: pointer;
}

.view-full-btn:hover {
    background: #e5e7eb;
}

.check-now-btn:hover {
    background: #2563eb;
}

/* Search section styles */
.search-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.search-container {
    position: relative;
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 1rem 2.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

/* Suggestions dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: #f3f4f6;
}

.suggestion-url {
    color: #1a1a1a;
}

.suggestion-status {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* Website details section */
.website-details-section {
    margin-top: 2rem;
    display: none;
}

.website-details-section.active {
    display: block;
}

.website-details-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
}

.detail-label {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.details-history {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.375rem;
}

.suggestion-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.suggestion-info small {
    color: #6b7280;
    font-size: 0.75rem;
}

.suggestion-item.no-results {
    color: #6b7280;
    text-align: center;
    padding: 1rem;
}

.details-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.375rem;
}

.error-message {
    color: #991b1b;
    background: #fee2e2;
    border-radius: 0.375rem;
    padding: 1rem;
    text-align: center;
}