/*
Theme Name: Education LMS Child
Template: education-lms
Version: 1.0
*/

.site-branding .site-logo {
    max-width: 200px !important;
    margin-right: 10px;
}


  .responsive-table {
    width: 100%;
    border-collapse: collapse;
  }
  .responsive-table td {
    border: 1px solid #dddddd;
    padding: 15px;
    vertical-align: top;
  }
  .responsive-table td strong {
    display: block;
    margin-bottom: 15px;
  }
  @media (max-width: 600px) {
    .responsive-table, .responsive-table tr, .responsive-table td {
      display: block;
      width: 100%;
    }
    .responsive-table td {
      border: none;
      border-bottom: 1px solid #dddddd;
      margin-bottom: 16px;
    }
  }

.download-container {
    text-align: center;
    margin: 30px 0;
}

.pdf-download-btn {
    background: linear-gradient(to bottom, #2ecc71, #27ae60);
    color: #ffffff !important;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none !important;
    padding: 15px 30px;
    border-radius: 8px;
    border-bottom: 4px solid #1e8449;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    width: 90%; /* Great for mobile */
    max-width: 400px; /* Limits width on desktop */
}

.pdf-download-btn:hover {
    background: linear-gradient(to bottom, #27ae60, #219150);
    transform: translateY(2px);
    border-bottom: 2px solid #1e8449;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pdf-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.giot-payment-accounts {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 25px 0 !important;
    box-sizing: border-box !important;
}

.giot-payment-card {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 22px !important;
    box-sizing: border-box !important;

    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;

    text-align: left !important;
    vertical-align: top !important;
}

.giot-payment-card h3 {
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    font-size: 19px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}

.giot-payment-card p {
    margin: 7px 0 !important;
    padding: 0 !important;
    line-height: 1.55 !important;
}

.giot-payment-card strong {
    font-weight: 700 !important;
}

/* First account with QR code */
.giot-payment-featured {
    grid-column: 1 / -1 !important;
}

.giot-payment-featured-inner {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    width: 100% !important;
}

.giot-payment-qr {
    flex: 0 0 190px !important;
    width: 190px !important;
    text-align: center !important;
}

.giot-payment-qr img {
    display: block !important;
    width: 176px !important;
    height: 171px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.giot-payment-details {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

/* Tablet */
@media (max-width: 900px) {
    .giot-payment-accounts {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .giot-payment-featured {
        grid-column: 1 / -1 !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .giot-payment-accounts {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .giot-payment-featured {
        grid-column: auto !important;
    }

    .giot-payment-featured-inner {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .giot-payment-qr {
        flex: none !important;
        width: 100% !important;
    }

    .giot-payment-details {
        width: 100% !important;
    }
}


/* Title bar: light, compact, left-aligned */
body .titlebar {
  background: #f6f8fa !important;
  background-image: none !important;
  padding: 26px 0 !important;
  border-bottom: 1px solid #e6e9ed;
  text-align: left !important;
	margin-bottom: 30px !important;
}
body .titlebar::before { display: none !important; } /* removes a dark overlay if the theme adds one */

body .titlebar::after { display: none !important; }


body .titlebar * { text-align: left !important; }

body .titlebar h1,
body .titlebar h2,
body .titlebar .entry-title {
  color: #253d4c !important;
  font-size: clamp(24px, 3vw, 32px) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  text-transform: none !important;
  margin: 0 !important;
}

/* thin yellow accent line under the title */
body .titlebar h1::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: #f5b50a;
  margin-top: 10px;
}

/* thin yellow accent line under the title */
body .titlebar h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: #f5b50a;
  margin-top: 10px;
}

/* hide the theme's old centered underline */
body .titlebar [class*="separator"] { display: none !important; }