/* CBK Rates Widget Styles */

.cbk-rates-widget-container {
   /* Dark blue background */
    /* White text */
}

/* New: Main Widget Header Styles */
.cbk-rates-main-header {
  
  
   /* Center the main title and icon */
  d: f;
}

.cbk-rates-main-icon {
  font-size: 36px; /* Larger icon for main heading */
  margin-right: 10px;
  color: #ffffff;
}

.cbk-rates-main-icon-img {
  /* NEW: Style for uploaded image icon */
  width: 40px; /* Adjust size as needed */
  height: 40px; /* Adjust size as needed */
  object-fit: contain;
  margin-right: 10px;
}

.cbk-rates-main-title {
  font-size: 24px; /* Larger font for main heading */
  font-weight: bold;
  margin: 0;
  color: #ffffff;
}

.cbk-rates-section {
   /* Light separator */
   background: #194C9F;
}

.cbk-rates-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.cbk-rates-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.cbk-rates-icon {
  font-size: 24px;
  margin-right: 10px;
  color: #ffffff; /* White icon */
}

.cbk-rates-key-rates-icon-img,
.cbk-rates-auction-results-icon-img {
  /* NEW: Style for uploaded image icon for Key Rates and Auction Results sections */
  width: 24px; /* Match the size of Font Awesome icons */
  height: 24px;
  object-fit: contain;
}

.cbk-rates-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
  line-height: 30px;
  font-family: "Poppins", Sans-serif;
}

.cbk-rates-content {
   /* Align with icon */
}

.cbk-rates-subtitle {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 24px;
  font-family: "Poppins", Sans-serif;
  color: #fff;
  width: 100%;
  max-width: 94%;
}

.cbk-rates-table {
  width: 100%;
}

.cbk-rates-table-header,
.cbk-rates-table-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
   /* Very light separator */
  margin-bottom: 15px;
  border-bottom: 1px solid #686868;
  color: #fff;
}

.cbk-rates-table-header {
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
  font-family: "Poppins", Sans-serif;
  font-weight: 500;
  line-height: normal;
}

.cbk-rates-table-row:last-child {
  border-bottom: none;
  margin-bottom: 0 !important;
  padding-bottom: 0;
}

.currency-col {
  display: flex;
  align-items: center;
  flex: 1;
  font-size: 14px;
  font-family: "Poppins", Sans-serif;
  font-weight: 500;
  line-height: normal;
  color: #fff;
}

.rate-col {
  flex: 0 0 auto;
  font-size: 12px;
  text-align: right;
  font-weight: 500;
  font-family: "Poppins", Sans-serif;
  line-height: normal;
  color: #fff;
}

.currency-flag {
  width: 20px;
  height: auto;
  margin-right: 8px;
  border-radius: 2px;
}

.cbk-rates-date {
  font-size: 16px;
  margin: 0;
  font-weight: 400;
  font-family: "Poppins", Sans-serif;
  line-height: 22px;
  color: #fff;
  margin: 15px 0px;
}
.cbk-rates-section.key-rates-section .cbk-rates-header img, .cbk-rates-section.exchange-rates-section .cbk-rates-header img {
    width: 56px;
    height: 56px;
    padding: 10px;
    background: #00AEEF;
    border-radius: 4px;
}
 
.cbk-rates-button {
  background-color: #fff; /* Blue button */
  color: #194C9F;
  padding: 10px 15px;
  border-radius: 0;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
  font-family: "Poppins", Sans-serif;
  line-height: normal;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: max-content;
  flex-wrap: nowrap;
}

.cbk-rates-button:hover {
    color:#194C9F;
}

.cbk-rates-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cbk-rates-buttons .cbk-rates-button {
  flex: 1;
  text-align: center;
   /* Ensure buttons don't get too small */
}
.single .bnr-sec-mn-sec-inr .main-content .form-tabel-etx-col + div select {
    width: 50px;
    height: 30px;
    border: 1px solid #000;
}
.single .bnr-sec-mn-sec-inr .main-content .form-tabel-etx-col + div span.ml-2 {
    display: none;
}
.single .bnr-sec-mn-sec-inr .main-content .form-tabel-etx-col + div .flex.items-center {
    display: flex;
    align-items: center;
    gap: 10px;
}
.no-data {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    line-height: normal;
}

/* Admin Styles (for better readability in admin) */
.cbk-rates-admin-form h4 {
  margin-top: 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.cbk-rates-admin-form hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

.repeater-item {
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #f9f9f9;
  position: relative;
}

.repeater-item .remove-item {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 3px 8px;
  font-size: 10px;
  line-height: 1;
}

.repeater-item p {
  margin-bottom: 8px;
}

.repeater-item label {
  font-weight: bold;
  display: block;
  margin-bottom: 3px;
}

.repeater-item input[type="text"],
.repeater-item input[type="url"] {
  width: calc(100% - 10px);
  padding: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.repeater-item .upload-flag-button,
.cbk-rates-admin-form .upload-main-icon-button,
.cbk-rates-admin-form .upload-key-rates-icon-button,
.cbk-rates-admin-form .upload-auction-results-icon-button {
  /* Apply to all upload buttons */
  margin-top: 5px;
}

/* Key Rates Table Specific Styles */
.cbk-rates-table.key-rates-table-display .cbk-rates-table-header,
.cbk-rates-table.key-rates-table-display .cbk-rates-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr; /* Adjust column widths for Rate, Value, Date */
  gap: 10px;
  align-items: center;
}

.cbk-rates-table.key-rates-table-display .rate-name-col {
  text-align: left;
}

.cbk-rates-table.key-rates-table-display .rate-value-col,
.cbk-rates-table.key-rates-table-display .rate-date-col {
  text-align: center;
}


.cbk-rates-extra-upper-div {
    background: #194C9F;
    padding: 25px 20px;
    margin-bottom: 30px;
}

.cbk-rates-table-row {}

.cbk-rates-table-row .currency-col img {
    width: 39px;
    height: 23px;
}

.cbk-rates-table-row {
    border-bottom: 1px solid #B8B8B8;
}

.cbk-rates-section.key-rates-section {
    padding: 25px 20px;
    margin-bottom: 30px;
}

.cbk-rates-section.key-rates-section .cbk-rates-table-header {
    display: none;
}

.cbk-rates-table.key-rates-table-display .rate-value-col {
    font-weight: 600;
}

.cbk-rates-section.auction-results-section {
    padding: 45px 15px;
}

.cbk-rates-section.auction-results-section .cbk-rates-header img {
    width: 100%;
    max-width: 41px;
    height: 41px;
}

@media only screen and (max-width: 1199px) {
 

}