/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


 
.wptgcl_gift_card_wrapper {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}
.wptgcl_section {
    margin-bottom: 15px;
}
.wptgcl_section label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.wptgcl_section input,
.wptgcl_section textarea,
.wptgcl_section select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.wptgcl_info,
.wptgcl_msg_info {
    font-size: 12px;
    color: #666;
    font-style: italic;
}
.wptgcl_char_count {
    font-size: 12px;
    color: #666;
}
.wptgcl_delivery_method {
    margin-top: 10px;
}
.wptgcl_delivery_method input[type="radio"] {
    width: auto;
    margin-right: 8px;
}
.wptgcl_delivery_method label {
    display: inline;
    margin-right: 20px;
    font-weight: normal;
}
.wptgcl_delivery_via_email {
    margin-top: 10px;
    padding-left: 20px;
}
.wptgcl_template_selection {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.wptgcl_template_img {
    width: 70px;
    height: 70px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
}
.wptgcl_template_img.wptgcl_selected {
    border-color: #0073aa;
}
.wptgcl_preview_link {
    color: #0073aa;
    text-decoration: none;
}
.wptgcl_preview_link:hover {
    text-decoration: underline;
}

/* for products listing by shortcodes */
#wptgcl_prdct_shrtcode a img{
    height: 40%;
    width: 50%;
}
#wptgcl_prdct_shrtcode{
    display: flex;
    gap: 50px;
}

/* for the balance check form. */

.wptgcl-gift-card-balance-wrapper {
  max-width: 400px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  font-family: inherit;
}

.wptgcl-form-group {
  margin-bottom: 15px;
}

.wptgcl-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: #333;
}

.wptgcl-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.wptgcl-input:focus {
  border-color: #0073aa;
  outline: none;
}

.wptgcl-form-actions {
  text-align: center;
  margin-top: 20px;
  position: relative;
}

.wptgcl-btn {
  border: none;
  padding: 10px 18px;
  border-radius: 5px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.wptgcl-btn:hover {
  background: #1d4ed8;
}

.wptgcl-loader {
  margin-top: 10px;
}

.wptgcl-loader img {
  width: 24px;
  height: 24px;
}

.wptgcl-notification {
  margin-top: 10px;
  font-size: 14px;
}
.wptgcl-notification b {
  color: red;
}

@media (max-width: 480px) {
  .wptgcl-gift-card-balance-wrapper {
    padding: 15px;
  }
  .wptgcl-btn {
    width: 100%;
  }
}
