/*
Theme Name: GeneratePress Child - Result Portal
Theme URI: https://result.wplite.in
Description: Custom child theme for GeneratePress designed for result portal
Author: Your Name
Author URI: Your Website
Template: generatepress
Version: 1.0
*/

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

a {
    color: #0d6efd;
    text-decoration: none;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-logo img {
    max-height: 50px;
}

/* Navigation */
.main-navigation .main-nav ul li a {
    font-weight: 500;
    color: #212529;
    padding: 10px 15px;
    font-size: 16px;
}

.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li:hover > a {
    color: #0d6efd;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Search Form */
.result-search-form {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.search-form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-form-group {
    flex: 1;
    min-width: 200px;
}

.search-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.search-form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
}

.search-submit {
    background-color: #0d6efd;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.search-submit:hover {
    background-color: #0b5ed7;
}

/* Result Card */
.result-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.result-title {
    color: #0d6efd;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    color: #6c757d;
}

.meta-item i {
    margin-right: 8px;
    color: #0d6efd;
}

.result-content table {
    width: 100%;
    border-collapse: collapse;
}

.result-content th,
.result-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.result-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.download-btn {
    display: inline-block;
    background-color: #198754;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: 500;
}

.download-btn:hover {
    background-color: #157347;
    color: white;
}

/* Footer */
.site-footer {
    background-color: #212529;
    color: #dee2e6;
    padding: 40px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget-title {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #495057;
    color: #adb5bd;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .search-form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-form-group {
        width: 100%;
    }
}