.blog-wrapper.blog-single.page-wrapper div.row{
	max-width: 100%;
}
#gc-single-banner {
    position: relative;
	display: flex;
    justify-content: center;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
}

div#gc-single-banner img {
    max-height: 250px;
}

#gc-single-banner h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
/*     background: rgba(0, 0, 0, 0.5); */
    padding: 10px 40px;
    margin: 0;
	color:#fff;
	white-space: nowrap;
}
#gc-single-desc {
    margin-top: 20px;
}
#gc-single-brands .brand-items {
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
  gap: 16px;
  margin-top:30px;
}
#gc-single-brands .brand-items .brand-item-pass,
#gc-single-brands .brand-items .brand-item {
  box-sizing: border-box;
  padding: 15px 15px;
  border-radius: 10px;
  background-color:#fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* horizontal, vertical, blur, color */
/*     transition: box-shadow 0.3s ease; */
}
.brand-item-pass>div,
.brand-item>div {
    text-align: right;
}

.brand-items+div{
	text-align: center;
	margin-top:50px;
}
#gc-single-brands .brand-items .brand-item-pass>div,
#gc-single-brands .brand-items .brand-item>div {
	position: relative;
}
.brand-img-wrap {
    margin: 10px;
    min-height: 100px;
}

.brand-img-wrap img {   
    object-fit: cover;
    /*max-width: 180px;*/
    text-align: center;
    display: block;
    margin: 0 auto;
}

.brand-items div.brand-desc-mobile {
    text-align: left;
    font-size: 14px;
    color: #646456;
}
button#popup-confirm,
button#brand-popup-cancel {
    border-radius: 5px;
    border: 1px solid green;
    margin-top:10px;
}
button#brand-popup-cancel {
    border-color:  red;
}
#gc-single-brands .brand-items .brand-item-pass>div+img,
#gc-single-brands .brand-items .brand-item>div+img{
	display: block;
	margin: 0 auto; 
}

#gc-single-brands .brand-item.active {
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  border: 1px solid #0073aa;
  background: #f0f8ff;
}
 .brand-item .woocommerce-Price-amount.amount{
	float: right;
}
#gc-single-brands .brand-items .brand-item-pass a.pass_view,
#gc-single-brands .brand-items .brand-item a.pass_view {
  border-radius: 100px;
  padding: 10px 0px;
  font-weight:600;
	font-size: 12px;	
display: block;
}
.generated-passes-list {
    max-width: 500px;
    margin: 0 auto 30px;
}
button#gc-campaign-status-btn,
#gc-single-brands a.pass-link,
#gc-single-brands button#generate-card-main {
    background: white;
    border-radius: 100px;
    padding: 5px 20px;
    color: #646456;
}
button#gc-campaign-status-btn:hover,
#gc-single-brands a.pass-link:hover,
#gc-single-brands button#generate-card-main:hover {
   box-shadow:unset !important;
}
#brand-popup {
  display: none; /* hidden by default */
  position: fixed; /* stay in place */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* center horizontally & vertically */
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 1001; /* above everything */
  width: 300px;
  text-align: center;
}
#brand-popup > input,
#brand-popup > textarea{
   margin-bottom: 15px;
}
#brand-popup > label{
	text-align:left;
}
/* Optional overlay background */
#brand-popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}
.popup-processing {
  padding: 10px 0;
}
.popup-processing-spinner {
  border: 4px solid #e0e0e0;
  border-top: 4px solid #01859a;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: gc-spin 1s linear infinite;
  margin: 0 auto 12px;
}
.popup-processing-text {
  margin: 0;
  font-weight: 600;
  color: #333;
}
#gc-single-brands .brand-noti{
	text-align:center;
	margin-top: 10px;
}
.gc-spinner {
  position: absolute;
  top: 20%;
  right: -35px;
  transform: translateY(-50%);
  border: 4px solid #000;
  border-top: 4px solid #01859a;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: gc-spin 1s linear infinite;
  z-index: 10;
}
@keyframes gc-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
form#mobileForm .form_input_wrapper {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 100px;
	background-color:#fff;
    margin-right: 10px;
    margin-bottom: 0px;
	display: flex;
}
.custom-mobile-form input#mobileNumber::placeholder {
  color: #b7b7b7 !important;       
}
a#brand-reset,
.custom-mobile-form button,
.application-button{
	position:relative;
	display:inline-block;
    padding: 10px 20px;
    color: #000 !important;
    border: none;
    border-radius: 100px;
    cursor: pointer !important;
	font-weight:bold;
	transition: .3s ease;
	line-height: 1;	
	margin-right: 0px;
	border:1px solid #ccc;
}
.custom-mobile-form button{
	border: 1px solid #ccc;
    border-radius: 100px;
	color: #000 !important;
}
a#brand-reset {
	padding: 10px 20px;
	margin-top:15px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: fit-content;
}
.custom-mobile-form input[type="tel"] {
    width: 70%;
    border: none !important;
    padding: 0px;
    height: 30px !important;
	background:transparent !important;
	color:black;
	padding-left:10px;
	box-shadow: none;
	border-radius: 0px;
}
.custom-mobile-form input[type=tel]:focus {
    box-shadow: none;
}
.form_input_wrapper:has(#ktNumber) {
    padding:5.5px !important;
}
.custom-mobile-form input[type="tel"]::placeholder {
 	color:white;	
}
.custom-mobile-form input#ktNumber {
    border: 0;
    box-shadow: none;
}
 span.form_input_wrapper>span {
    display: flex;
    align-items: center;
    max-width: 70%;
    float: left;
    width: 80px;
} 

 form#mobileForm .form_input_wrapper span img {
    max-width: 24px !important;
}

form#mobileForm .form_input_wrapper>span>span {
    color: rgb(var(--theme-dark-200)) !important;
    pointer-events: none;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 14px;
    font-weight: normal;
}
.custom-mobile-form h2 {
    margin-bottom:.7em;
	width=100%; 
	display:block;
}
.custom-mobile-form > p{
    margin-top:.7em;
}
.gc-logo-wrapper{
    display:flex;
    justify-content:center;
    padding: 100px 0px 0px;
}
.gc-logo-wrapper img.gc-logo {
    max-width: 100%;
	  width: 100%;
	  max-height: 300px;
	  object-fit: contain;
}
#gc-single-brands form#mobileForm {
    text-align:left;
	display: flex;
	max-width: 600px;
	margin: 0px auto 0px;
	
	
}
div.campaign-title{
    text-align: center;
    margin-top: 50px;
    font-weight:400;
	margin-bottom: 50px;
}

/*Notification CSS  */
.gc-alert {
    padding: 5px 20px;
    color: #000;
    max-width: fit-content;
	display:none;
	margin: 20px auto 0;
	border:1px solid #ccc;
	
}
.gc-closebtn {
  margin-left: 15px;
  color: #000;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}
.gc-closebtn:hover {
  color: black;
}
/*Campaign card CSS*/
.gc-cards-container {
            display: flex;
	        justify-content: center;
            flex-wrap:wrap;
            gap: 30px;
            margin-top: 20px;
        }
        
        /* Campaign Card Styles */
        .gc-campaign-card {
            background-color: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
			min-width: 270px;
            max-width: 270px;
        }
        
        .gc-campaign-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        }
        h3.gc-campaign-card__title{
			word-wrap: break-word;
         }
        
        /* Card Image */
        .gc-campaign-card__image {
            width: 100%;
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        
        .gc-campaign-card__image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.5s ease;
        }
        
        .gc-campaign-card:hover .gc-campaign-card__image img {
            transform: scale(1.05);
        }
        
        /* Card Content */
        .gc-campaign-card__content {
            padding: 24px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
      
        
        /* Card Status */
        .gc-campaign-card__status {
            display: inline-flex;
            align-items: center;
            padding: 6px 14px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 20px;
            align-self: flex-start;
        }
        
        .gc-campaign-card__status--active {
            background-color: rgba(46, 204, 113, 0.15);
            color: #27ae60;
        }
        .gc-campaign-card__status--urgent {
            background-color: rgba(231, 76, 60, 0.15);
            color: #c0392b;
        }
.gc-campaign-card__status.gc-campaign-card__status--inactive {
    background-color: rgba(231, 76, 60, 0.15);
    color: #c0392b;
}

/* Campaign Description popup CSS*/
.gc-desc-btn {
    margin-top: 12px;
    border-radius: 6px;
    background: #e61a1912;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s 
ease;
    max-width: fit-content;
    padding: 6px 10px;
    font-weight: 600;
    }

    /* Overlay background */
    .gc-description-popup-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      z-index: 999;
    }

    /* Popup modal */
    .gc-description-popup {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #fff;
      border-radius: 10px;
      padding: 25px;
      z-index: 1000;
      box-shadow: 0 8px 20px rgba(0,0,0,0.3);
      min-width: 300px;
      max-width: 90%;
      text-align: center;
	  max-height: 400px;
      overflow-y: auto;
    }

    #gc-description-popup-text {
      color:#646456;
    }

    #gc-description-popup-close {
      margin-top:20px;
      border: none;
      border-radius: 6px;
      background: #e74c3c;
      color: #fff;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    #gc-description-popup-close:hover {
      background: #c0392b;
    }

 /*Login Tab CSS*/
 .gc-login-tabs {
    max-width: 600px;
    margin: auto;
  }

  /* Hide radios */
  .gc-login-tabs input[type="radio"] {
    display: none;
  }

  /* Tab labels */
  .gc-login-tab-label {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    cursor: pointer;
  }

  /* Active tab label */
  .gc-login-tabs input:checked + .gc-login-tab-label {
    background: #f6f6f6;
    border-bottom: 3px solid #1b364b;
    color: #1b364b;
    font-weight: bold;
  }

  /* Panels */
  .gc-login-tab-panel {
    display: none;
    padding: 1rem;
    background: #fff;
	margin-top:7px;
	border-top: 3px solid #e5e5e5;
  }

  div#gc-login-panel2 > p {
    color: #1b364b;
  }

  /* Show the panel when its radio is checked */
  #gc-login-tab1:checked ~ #gc-login-panel1,
  #gc-login-tab2:checked ~ #gc-login-panel2 {
    display: block;
  }



        
        /* Responsive Adjustments */
   		 @media (min-width: 1200px) {
			#gc-single-brands .brand-items .brand-item-pass,
			#gc-single-brands .brand-items .brand-item {
			  width: 15%;
			}
		}

        @media (min-width: 768px) and (max-width: 1199px){
			#gc-single-brands .brand-items .brand-item-pass,
			#gc-single-brands .brand-items .brand-item {
			  width: 30%;
			}
		}
        @media (max-width: 768px) {
            .gc-campaign-card__title {
                font-size: 1.3rem;
            }       
        }
        
        @media (max-width: 480px) {
            .gc-campaign-card__content {
                padding: 20px;
            }
            
           
        }

		@media (min-width: 420px) and (max-width: 767px) {
			#gc-single-brands .brand-items .brand-item-pass,
            #gc-single-brands .brand-items .brand-item {
				width: 70%;
			}
		}


		@media (max-width: 600px) {

			#gc-single-brands button#generate-card-main {
			margin-top: 30px;		
			padding: 5px 20px;
		}

		}

	@media (max-width: 420px) {
		  #gc-single-brands .brand-items .brand-item-pass,
		  #gc-single-brands .brand-items .brand-item {
			flex: 1 1 100%;
		 } 

		.custom-mobile-form button {
			margin-top: 15px; 
		}

		form#mobileForm {
			flex-wrap: wrap;
		}

		form#mobileForm .form_input_wrapper {
			margin-right: 0px;
		}

	}

/* Generated Passes Table */
.generated-passes-table-container {
    margin: 0 auto 20px;
    overflow-x: auto;
    max-width: 1450px;
}

.generated-passes-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.generated-passes-table th,
.generated-passes-table td {
    padding: 12px 15px !important;
    text-align: left;
    border-bottom: 1px solid #eee;
    color: #646456;
}

.generated-passes-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

.generated-passes-table tr:last-child td {
    border-bottom: none;
}

.generated-passes-table tr:hover {
    background-color: #fcfcfc;
}

.generated-passes-table td a.button.pass-link {
    margin: 0;
    padding: 6px 12px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .generated-passes-table-container {
        border: none;
    }
    .generated-passes-table {
        box-shadow: none;
        background: transparent;
    }
    .generated-passes-table thead {
        display: none;
    }
    .generated-passes-table tr {
        display: block;
        margin-bottom: 15px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        border: 1px solid #eee;
    }
    .generated-passes-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 10px 15px;
        border-bottom: 1px solid #f0f0f0;
    }
    .generated-passes-table td:last-child {
        border-bottom: none;
    }
    .generated-passes-table td::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
        margin-right: 15px;
        color: #333;
    }
}
