/* Container Style */
.pcg-container {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    width: auto;
    margin: 20px auto;
    text-align: left; /* Align text to the left */
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Settings Container Style */
.pcg-settings-container {
    flex: 1 1 45%; /* 45% of the container */
    margin-right: 20px;
}

/* Promo Codes Result Section */
#promo-codes-result {
    flex: 1 1 45%; /* 45% of the container */
    padding-left: 0px;
	text-align: center
}

#promo-codes-result h3 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* Promo Code Settings Title */
.pcg-settings-container h3 {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* Form Section (Settings) */
#pcg-form {
    text-align: left; /* Align form elements to the left */
}

/* Label and Select Style */
#pcg-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Slider Style */
input[type="range"] {
    width: 100%;
}

/* Promo Codes Section */
.pcg-container #promo-codes-result ul {
    list-style-type: none;
    padding: 0;
}

.pcg-container #promo-codes-result li {
    font-size: 16px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 8px; /* Rounded corners */
    border: 1px solid #ddd; /* Border around each promo code */
    transition: background-color 0.3s ease;
}

.pcg-container #promo-codes-result li:hover {
    background-color: #f0f0f0; /* Hover effect on promo code */
}

/* Full-width Buttons in Settings */
.pcg-container #pcg-form button {
    width: 100%; /* Make buttons full-width */
    padding: 10px;
    margin-bottom: 10px;
    font-weight: bold;
	font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.3s ease;
}

/* Generate Button */
#generate-button {
    background: #0073aa;
    color: white;
    border: none;
}

#generate-button:hover {
    background: #005177;
}

#generate-button:active {
    transform: scale(0.95);
}

/* Copy All Button */
#copy-all-button {
    background: #28a745; /* Green background */
    color: white;
    border: none;
    display: none; /* Initially hidden */
}

#copy-all-button:hover {
    background: #1e7e34;
}

#copy-all-button:active {
    transform: scale(0.95);
}

/* On smaller screens, make sure buttons are stacked and adjusted */
@media (max-width: 600px) {
    /* Ensure full-width button styling */
    .pcg-container #generate-button, .pcg-container #copy-all-button {
        width: 100%;
    }

    /* Add space between buttons */
    .pcg-container #copy-all-button {
        margin-top: 10px; /* Slight indentation below "Generate" */
    }
}
