/*
 Theme Name:    Electro Child
 Theme URI:     https://themeforest.net/item/electro-electronics-store-woocommerce-theme/15720624
 Description:   This is the child theme of Electro
 Author:        MadrasThemes
 Author URI:    https://madrasthemes.com/
 Template:      electro
 Version:       3.6.4
 License:       GNU General Public License v2 or later
 License URI:   http://www.gnu.org/licenses/gpl-2.0.html
 Tags:          light, dark, two-columns, right-sidebar, responsive-layout
 Text Domain:   electro-child
*/

/*
 * Start CSS for exam info shortcode
 */

.exam-info-box {
    border: 1px solid #1a4a6b;
    /* max-width: 550px; <-- Remove this line */
    width: 100%;
    margin: 25px 0;
    padding: 20px;
    border-radius: 8px;
    background-color: #103550;
    font-family: 'Roboto', 'Helvetica Neue', sans-serif;
    color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.exam-info-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff; /* White heading */
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a4a6b;
    text-align: left;
}

.exam-info-list {
    display: flex;
    flex-direction: column;
}

.exam-info-row {
    display: flex;
    align-items: center; /* This property ensures perfect vertical alignment */
    padding: 10px 0;
    border-bottom: 1px solid #1a4a6b;
    transition: background-color 0.3s ease;
}

.exam-info-row:last-child {
    border-bottom: none;
}

.exam-info-row:hover {
    background-color: #1a4a6b;
}

.exam-info-row .info-icon {
    font-size: 18px;
    color: #ffffff; /* White icons */
    margin-right: 15px;
    line-height: 1;
}

.exam-info-row .info-label {
    font-weight: bold; /* Bold text for labels */
    color: #ffffff; /* White text for labels */
    min-width: 120px;
    margin-right: 10px;
}

.exam-info-row .info-value {
    font-weight: 400;
    color: #e0e0e0; /* A soft light gray for values */
    flex-grow: 1;
}

.exam-info-row .exam-shortcode {
    font-weight: 600;
    color: #17a2b8;
    margin-left: 5px;
    background-color: rgba(23, 162, 184, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    text-transform: uppercase;
}

/*
 * End CSS for exam info shortcode
 */
 
 
  /**
 * Start All Vendor Page
 */
 
/* Main container for the certifications page */
.vendor-certs-container {
  padding: 40px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #eee;
}

/* Search bar and its container */
.search-bar {
  /* This is not needed anymore since we're centering the input directly */
}

#cert-search {
  width: 100%;
  max-width: 600px; /* Prevents the search bar from getting too wide on large screens */
  padding: 15px 25px;
  border: 1px solid #444;
  border-radius: 50px; /* Makes the search bar rounded */
  background-color: 00FFFFFF;
  color: #eee;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;

  /* This is the key change to center the input */
  display: block;
  margin: 0 auto 40px;
}

#cert-search:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
}

/* Placeholder text styling */
::placeholder {
  color: #999;
  opacity: 1;
}

/* Grid layout for the category boxes */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Creates a responsive grid */
  gap: 20px;
  justify-content: center;
}

/* Individual category box styling */
.cert-box {
  background-color: #00abc5;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  display: block; /* Makes the entire box clickable */
}

.cert-box:hover {
  transform: translateY(-5px); /* Lifts the box on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.cert-name {
  color: #fff;
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 5px;
  font-weight: 600;
}

.cert-exams {
  color: #bbb;
  font-size: 14px;
  margin: 0;
}

/* Message for when no categories are found */
.vendor-certs-container p {
  text-align: center;
  font-size: 18px;
  color: #000000;
}

  /**
 * End All Vendor Page
 */