/* Custom Styles for Product Code Generator Plugin */


/* Checklist - titles above Checklist */
.pcg-group-label {
    display: block;
    margin-bottom: 5px;
    font-weight:600;
    color: #fff;
	font-size:1rem;

}

/* Checklist - list layout */
.pcg-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 10px; 
    list-style-type: none;
    padding-left: 0; 
    margin-bottom: 10px;
}
#pcg-selected-items-overview .pcg-label-code {
    display: none; /* This will hide the product code in the overview */
}


/* Checklist - Custom checkbox */
.pcg-round-checkbox input[type="checkbox"] {
    visibility: hidden; /* Hide the default checkbox */
    position: absolute;
}
.pcg-round-checkbox label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #5c596b;
    border-radius: 50%;
    background-color: #6f6d77;
}
/* Checklist - checked state bg */
.pcg-round-checkbox input[type="checkbox"]:checked + label:before {
    background-color: #fec500;
    border-color: #333;
}
/* Checklist - checked state tick */
.pcg-round-checkbox label:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #2f2e33;
    border-width: 0 3px 3px 0;
    transform: rotate(35deg);
    display: none;
}

.pcg-round-checkbox input[type="checkbox"]:checked + label:after {
    display: block;
}


/* Checklist - label */
.pcg-round-checkbox label {
    cursor: pointer;
    position: relative;
    padding-left: 25px;
    display: block;
    padding-bottom: 0.1rem;
    color: #fff;
    font-size: 12px;
    line-height: 1.1rem;
		font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
}
span.pcg-label-code {
    color: #fec500;
}

/* Product Code Overview */
#pcg_selected_items_overview {
    list-style-type: none; /* Removes bullet points */
    color: #fff; /* Sets text color to white */
    padding-left: 0; /* Removes default padding */
    margin-bottom: 2rem; /* Adds some space below the list */
}

#pcg_selected_items_overview li {
    font-size: 13px;
    line-height: 1.5rem;
		font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
}

.pcg-description-unfilled {
    color: #999;
    font-style: italic;
}
.pcg-description {
    font-weight: 600;
    padding-left: 5px;
}




/* PRODUCT CODE */
#pcg_display_product_code {
    font-size: clamp(14px, 2.75vw, 32px);
    color: #fec500;
    font-family: roboto;
    font-weight: 900;
} 
#pcg_waiting_text {
    color: grey; /* Grey text for the waiting message */
    display: none; /* Initially hidden */
}
#pcg_waiting_text {
    color: grey; /* Grey text for the waiting message */
    display: none; /* Initially hidden */
}

.pcg-button-alpha {
    display: inline-block;
    font-family: "Roboto", Sans-serif !important;
    font-size: 12px!important;
    font-weight: 400!important;
    text-transform: uppercase!important;
    border: 1px solid #69727d !important; /* Example of using !important */
    border-radius: 34px!important;
    padding: 10px 20px 8px !important;
    color: #fff !important; /* Increase specificity or use !important */
    background-color: #2f2e33 !important;
    cursor: pointer;
    user-select: none;
}
.pcg-button-alpha:focus-visible, .pcg-button-alpha:focus,.pcg-button-alpha:focus-within {
    outline: none !important; /* Optional: Removes the default focus outline */
}


.pcg-button-alpha:hover,
.pcg-button-alpha:active {
    background-color: #2f2e33 !important;
    border-color: #fec500 !important;
}
.pcg-button-alpha.copied-state {
    border-color: #fec500 !important; /* Yellow border */
}





/* General container styling for better layout */
.pcg-container {
    display: flex;
    flex-direction: column;
    flex: 1 0 25%;
}

.pcg-group {
    margin-bottom: 10px; /* Space between each option group */
    background-color: #2f2e33;
    padding: 20px 4% 10px;
    border-radius: 20px;
    border: 3px solid #2f2e33;

}


/* Update the ID for the selected items overview */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

#pcg_waiting_text {
    animation: pulse 2s infinite;
}

.selected-group {
    border: 3px solid #3c5250; /* Or any color you prefer */
}

 