/*
 * Theme Name:		GWT-Wordpress 27.0.0
 * Theme URI:		https://bit.ly/gwtversions
 * Description:		Custom WordPress theme based on the draft Unified Web Content Policy 
 *					prepared by the PCDSPO, DOST-ASTI, and DOST-ICTO. Theme is built on 
 *					HTML5 responsive WordPress framework based on ZURB's Foundation.
 * Version:			27.0.0v2
 * Author:			J.K. | GWHS Team
 * Author URI:		https://github.com/GOSD-DICT
 * License:			MIT License
 * License URI:		http://www.opensource.org/licenses/mit-license.php
 * Tags: 			theme-options, rtl-language-support, featured-images, editor-style, custom-menu, 
 *					responsive-layout, right-sidebar, left-sidebar, one-column, two-columns, three-columns
 */


 /** Your style here **/ 
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

 /* Slider Container */
.custom-slider {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
}

/* Each Slide */
.custom-slider .slide {
  flex: 0 0 100%;
}

.custom-slider img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}
/* ==========================
   Global Table Base
========================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  text-align: left;
}

table th, table td {
  border: 1px solid #e0e0e0;
  padding: 12px 14px;
}

table th {
  background-color: #f9f9f9;
  font-weight: 600;
  color: #333;
}

table tr:nth-child(even) {
  background-color: #fafafa;
}

/* ==========================
   Bid Table
========================== */
.bid-table {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* PDF Icon beside Title */
.bid-pdf-title,
.appcse-pdf-title {
  display: flex;
  align-items: center;
}
.bid-pdf-title img,
.appcse-pdf-title img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}

/* Download Button */
.bid-download-btn,
.appcse-download-btn {
  display: inline-block;
  padding: 6px 14px;
  background-color: #c23133; /* 🔴 Your red */
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
}
.bid-download-btn:hover,
.appcse-download-btn:hover {
  background-color: #a61d1f; /* darker red on hover */
}

/* ==========================
   Pagination
========================== */
.pagination {
  margin-top: 20px;
  text-align: center;
}
.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 4px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #c23133;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s ease;
}
.pagination .current {
  background: #c23133;
  color: #fff;
  border: 1px solid #c23133;
}
.pagination a:hover {
  background: #fbeaea; /* light red hover */
}

/* ==========================
   Filter Buttons (Bids)
========================== */
.bid-filter {
  margin: 20px 0;
  text-align: center;
}
.bid-filter .filter-btn {
  display: inline-block;
  margin: 0 8px;
  padding: 6px 12px;
  background: #f1f1f1;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s ease;
}
.bid-filter .filter-btn:hover {
  background: #c23133;
  color: #fff;
  border-color: #c23133;
}
.bid-filter .active {
  background: #c23133;
  color: #fff;
  border-color: #c23133;
}

/* ==========================
   APPCSE Table
========================== */
.appcse-table {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.ft-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;        /* Light grey */
  border-top: 4px solid #3498db;    /* Blue */
  border-radius: 50%;
  animation: ft-spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes ft-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Universal Search Bar Style */
.custom-search-input {
    width: 50%;              /* shorten width */
    max-width: 50px;        /* cap max width */
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: block;
    margin: 0 auto 15px auto; /* center & add space below */
}

/* On focus */
.custom-search-input:focus {
    outline: none;
    border-color: #0073aa;   /* WP blue */
    box-shadow: 0 0 8px rgba(0,115,170,0.4);
}
/* MAIN MENU FONT */
header nav ul li a {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

/* SUB MENU FONT */
header nav ul ul li a {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
}
