/* result.css */
/* Dhaka Education Board Style Result Section */

.result-list h3 {
    color: #2c5c1c;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 24px;
    border-bottom: 3px solid #ffd700;
    padding-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.result-container {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    margin-bottom: 25px;
}

.result-header {
    background: linear-gradient(135deg, #2c5c1c 0%, #1e3f14 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 20px;
}

.result-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    color: white;
}

.result-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid #2c5c1c;
}

.result-item:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateX(5px);
    border-left-color: #ffd700;
}

.result-title {
    font-size: 16px;
    font-weight: bold;
    color: #2c5c1c;
    margin-bottom: 8px;
}

.result-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.result-date {
    color: #2c5c1c;
    font-weight: 600;
}

.result-btn {
    background: linear-gradient(135deg, #2c5c1c 0%, #1e3f14 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.result-btn:hover {
    background: linear-gradient(135deg, #4a7519 0%, #2c5c1c 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 92, 28, 0.3);
}

/* Result Table Styles */
.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.result-table th {
    background: linear-gradient(135deg, #2c5c1c 0%, #1e3f14 100%);
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.result-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
}

.result-table tr:hover {
    background: #f8f9fa;
}

.result-table tr:last-child td {
    border-bottom: none;
}

/* Result Search Form */
.result-search {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
}

.result-search .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.result-search .form-control:focus {
    border-color: #2c5c1c;
    box-shadow: 0 0 0 0.2rem rgba(44, 92, 28, 0.25);
}

/* Responsive Result Section */
@media (max-width: 768px) {
    .result-container {
        padding: 15px;
    }
    
    .result-header {
        padding: 12px 15px;
    }
    
    .result-header h2 {
        font-size: 18px;
    }
    
    .result-item {
        padding: 12px;
    }
    
    .result-title {
        font-size: 14px;
    }
    
    .result-table {
        font-size: 14px;
    }
    
    .result-table th,
    .result-table td {
        padding: 8px 10px;
    }
    
    .result-search {
        padding: 15px;
    }
}