h2{
    font-size:15px;
    color:Yellow;
    text-align:center;
    background-color:#3399;
}
.container {
  max-width: 96%;
  padding:2%;
}

.controls {
  display: flex;
  padding:2% 5%;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  background-color:#036164;
}

.field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.btn-field {
  flex: 0 0 auto;
}

label {
  color:Yellow;
  font-size: 14px;
  margin-bottom: 5px;
}

select, #searchBtn {
  padding: 7px;
  font-size: 15px;
  min-width:150px;
  border-radius: 8px;
  border: 2px solid #036164;
}

#searchBtn {
  background: Red;
  color: #FCF403;
  border: none;
  font-weight:bold;
  cursor: pointer;
}

#searchBtn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* परिणाम क्षेत्र और कार्ड्स */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-top: 0;
    color: #212b0f;
}

.card .meta {
    font-size: 0.9rem;
    margin: 10px 0;
    color: #555;
}

.card .actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Open PDF और Download बटन स्टाइल */
.card .btn-view {
    flex: 1;
    text-decoration: none;
    background-color: #d5995b; /* थीम कलर */
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.card .btn-view:hover {
    background-color: #b07a4a;
}

/* “No results” या empty message */
.empty {
  padding: 18px;
  text-align: center;
  color: #444;
  background: #fff;
  border-radius: 10px;
}
#Before{
    padding:5px 7px;
    margin:1%;
    text-indent: 40px;
    text-align:justify;
    font-size:18px;
    line-height:1.5;
    border:3px solid #036164;
}


/* —— Responsive adjustments —— */
@media (max-width: 768px) {
.container {
    max-width:100%;
    margin-top:2px;
}
  .controls {
    flex-direction: column;
    align-items: stretch;
  }
  .field {
    width: 100%;
  }
  .btn-field {
    margin-top: 10px;
  }
.btn-field{
    max-width:70%;
    margin:0 15%;
}
#Before{
font-size:12px;
}
select, #searchBtn {
padding:5px;
}
}

#results {
  width: 100%;
}