/* style.css */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #4cc9f0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #38b000;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    animation: fadeIn 0.8s ease-out;
}

.header h1 {
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Search Box */
.search-container {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.search-form {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 18px 20px;
    padding-right: 70px;
    font-size: 16px;
    border: 2px solid #e1e5e9;
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--light-color);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

/* Search Tips */
.search-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.tip {
    background: var(--light-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    border: 1px solid #e1e5e9;
    cursor: pointer;
    transition: var(--transition);
}

.tip:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Recent Searches */
.recent-searches {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.recent-searches h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recent-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.recent-list li {
    background: var(--light-color);
    padding: 10px 20px;
    border-radius: 25px;
    transition: var(--transition);
}

.recent-list li:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.recent-list a {
    text-decoration: none;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.recent-list li:hover a {
    color: white;
}

/* Results Table */
.results-container {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.table-wrapper {
    overflow-x: auto;
}

.results-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 800px;
}

.results-table th {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.results-table th:first-child {
    border-radius: 10px 0 0 0;
}

.results-table th:last-child {
    border-radius: 0 10px 0 0;
}

.results-table td {
    padding: 16px;
    border-bottom: 1px solid #e1e5e9;
    vertical-align: top;
}

.results-table tr:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

.results-table tr:last-child td {
    border-bottom: none;
}

/* IFSC Badge */
.ifsc-badge {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: monospace;
    font-weight: 600;
    display: inline-block;
}

/* Bank Logo Placeholder */
.bank-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bank-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

/* View Button */
.view-btn {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    font-size: 14px;
}

.view-btn:hover {
    background: #2d9100;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 176, 0, 0.3);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 40px;
}

.no-results .icon {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    text-align: center;
    color: white;
    margin-top: 40px;
    padding: 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .search-container {
        padding: 20px;
    }
    
    .search-input {
        padding: 15px;
        padding-right: 120px;
    }
    
    .search-button {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin-top: 15px;
        justify-content: center;
    }
    
    .recent-list {
        flex-direction: column;
    }
    
    .results-container {
        padding: 15px;
    }
}