:root {
    --primary-color: #073980;
    --accent-color: #e2b347;
    --background-color: #f1f5fc;
    --filter-bg-start: #4b6cb7;
    --filter-bg-end: #182848;
}

body {
    min-height: 100vh;
    background: linear-gradient(to bottom right, var(--background-color), #e2e8f0);
    font-family: sans-serif;
    margin: 0;
}

.container {
    max-width: 80rem;
    margin: 0 auto;
}

.card {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    overflow: hidden;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.card-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

@media (min-width: 768px) {
    .card-title {
        font-size: 1.875rem;
    }
}


.card-content {
    padding: 1.5rem;
}

.search-container {
    position: relative;
    margin-bottom: 2rem;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    fill: #9ca3af;
    transition: fill 0.2s ease;
}

.search-input:focus + .search-icon {
    fill: var(--primary-color);
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    font-size: 1.125rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.results-count {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 500;
}

.table-container {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}

thead tr {
    background: var(--primary-color);
    color: white;
}

th {
    padding: 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

th.sno {
    width: 4rem;
    border-top-left-radius: 0.5rem;
}

th.criteria {
    width: 30rem;
    border-top-right-radius: 0.5rem;
}

tbody tr {
    transition: all 0.3s ease;
    background: #ffffff;
}

tbody tr:nth-child(even) {
    background: #f8fafc;
}

tbody tr:hover {
    background: #e6f3ff;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

td {
    padding: 1rem;
    vertical-align: top;
    border-bottom: 1px solid #e5e7eb;
}

td.sno {
    font-weight: 600;
    color: var(--primary-color);
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
}

tbody tr:hover td.sno {
    background: #dbeafe;
}

td .scholarship-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.25;
}

td .donor {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

td .batch {
    font-size: 0.75rem;
    font-weight: 500;
    color: #4b5563;
}

td .criteria {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

.no-results {
    text-align: center;
    padding: 3rem;
}

.no-results-title {
    font-size: 1.125rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.no-results-text {
    font-size: 0.875rem;
    color: #6b7280;
}