:root {
    --primary-orange: #FF6B00;
    --golden-yellow: #FFD700;
    --light-grey: #F5F5F5;
    --dark-grey: #333333;
    --white: #FFFFFF;
    --red: #FF0000;
    --slide-blue: #4285F4;
    --slide-green: #0F9D58;
    --slide-purple: #9C27B0;
    --progress-blue: #4285F4;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Top Orange Bar */
.top-orange-bar {
    background-color: var(--primary-orange);
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.promo-text {
    color: var(--white);
    font-weight: bold;
    font-size: 2.5rem;
    white-space: nowrap;
    animation: textAnimation 15s infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    font-family: 'Luckiest Guy', 'Comic Neue', cursive;
    position: relative;
}

.promo-text .awoof {
    font-size: 3.5rem;
    color: var(--golden-yellow);
    display: inline-block;
    transform-origin: center;
}

@keyframes textAnimation {
    0% { 
        transform: translateX(100%) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    15% {
        transform: translateX(0) rotate(0deg);
    }
    20% {
        transform: rotate(5deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    30% {
        transform: rotate(0deg);
    }
    35% {
        transform: scale(1.1);
    }
    40% {
        transform: scale(1);
    }
    50% {
        transform: translateX(0) rotate(0deg);
    }
    60% {
        transform: translateX(0) rotate(360deg) scale(1.2);
    }
    70% {
        transform: translateX(0) rotate(0deg) scale(1);
    }
    80% {
        transform: translateX(0) skewX(20deg);
    }
    85% {
        transform: translateX(0) skewX(-20deg);
    }
    90% {
        transform: translateX(0) skewX(0deg);
    }
    95% {
        opacity: 1;
    }
    100% { 
        transform: translateX(-100%) rotate(0deg);
        opacity: 0;
    }
}

.flash-sale-bar {
    background: linear-gradient(to right, var(--primary-orange), var(--golden-yellow));
    padding: 10px 0;
    color: white;
    text-align: center;
    position: relative;
}

.flash-sale-text {
    font-weight: bold;
    color: var(--white);
    font-size: 1.5rem;
    display: inline-block;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.delivery-text {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 0.8rem;
    text-align: right;
    line-height: 1.2;
}

.logo-container {
    text-align: center;
    padding: 5px 0;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    width: 120px;
    height: 40px;
    object-fit: contain;
    cursor: pointer;
}

/* Navigation Bar */
.nav-bar {
    background-color: var(--light-grey);
    padding: 10px 0;
    border: 1px solid #DDD;
    position: relative;
    z-index: 10;
}

.nav-content {
    background-color: var(--white);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.menu-btn {
    cursor: pointer;
    margin-right: 25px;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-grey);
    margin: 4px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 2rem;
    color: var(--primary-orange);
    margin-right: 15px;
}

.flag {
    width: 30px;
    height: 20px;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/7/79/Flag_of_Nigeria.svg');
    background-size: cover;
    margin-right: 25px;
}

.search-container {
    display: flex;
    flex-grow: 1;
    max-width: 500px;
    margin: 0 25px;
}

.search-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #DDD;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.search-btn {
    padding: 10px 15px;
    background-color: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.auth-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.phone-input-container {
    display: flex;
    align-items: center;
}

.country-code {
    padding: 10px;
    border: 1px solid #DDD;
    border-radius: 4px 0 0 4px;
    background-color: #EEE;
    font-size: 0.9rem;
}

.phone-input {
    padding: 10px;
    border: 1px solid #DDD;
    border-left: none;
    border-right: none;
    width: 140px;
    font-size: 0.9rem;
}

.password-input {
    padding: 10px;
    border: 1px solid #DDD;
    border-left: none;
    width: 120px;
    font-size: 0.9rem;
    border-radius: 0 4px 4px 0;
}

.login-btn, .register-btn {
    padding: 10px 15px;
    margin-left: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.login-btn {
    background-color: var(--primary-orange);
    color: white;
}

.register-btn {
    background-color: var(--golden-yellow);
    color: var(--dark-grey);
}

.account-info {
    display: none;
    align-items: center;
}

.balance {
    margin-right: 20px;
    font-weight: bold;
}

.deposit-btn {
    padding: 10px 15px;
    background-color: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 4px;
    margin-right: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}

.account-btn {
    position: relative;
    cursor: pointer;
    font-size: 0.9rem;
}

.account-dropdown {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
}

.account-dropdown a {
    color: var(--dark-grey);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.account-dropdown a:hover {
    background-color: #f1f1f1;
}

.cart-container {
    display: flex;
    align-items: center;
    margin-left: 25px;
    gap: 20px;
}

.cart-btn {
    position: relative;
    cursor: pointer;
}

.cart-icon {
    font-size: 2rem;
    color: var(--primary-orange);
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--red);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.adult-logo {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: bold;
    background-color: var(--red);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--red);
}

/* Winners Marquee */
.winners-marquee {
    background-color: var(--light-grey);
    padding: 10px 0;
    overflow: hidden;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.winner-text {
    color: var(--primary-orange);
    font-weight: bold;
    margin-right: 30px;
}

/* Hero Section */
.hero-section {
    display: flex;
    margin: 20px auto;
    max-width: 1200px;
    padding: 0 15px;
}

.categories {
    width: 250px;
    background-color: var(--light-grey);
    padding: 15px;
    border-radius: 8px;
    margin-right: 20px;
}

.category-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #DDD;
    transition: background-color 0.3s;
}

.category-item:hover {
    background-color: #E0E0E0;
}

.category-item.active {
    background-color: var(--primary-orange);
    color: white;
}

.slider {
    flex-grow: 1;
    width: 830px;
    height: 345px;
    background-color: #DDD;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide.active {
    opacity: 1;
}

.slide-1 {
    background-image: url('img/slide1.jpg');
}

.slide-2 {
    background-image: url('img/slide2.jpg');
}

.slide-3 {
    background-image: url('img/slide3.jpg');
}

/* Products Section */
.products-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-grey);
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 5px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    border: 1px solid #DDD;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 180px;
    background-color: var(--white);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    cursor: pointer;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--red);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-weight: bold;
    margin-bottom: 5px;
    min-height: 40px;
    overflow: hidden;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -moz-box;
    -moz-line-clamp: 2;
    -moz-box-orient: vertical;
    display: box;
    line-clamp: 2;
    box-orient: vertical;
}

.product-code {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.product-price {
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.buy-btn, .lottery-btn, .add-to-cart-btn {
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.buy-btn {
    background-color: var(--primary-orange);
    color: white;
    width: 30%;
}

.lottery-btn {
    background-color: var(--golden-yellow);
    color: var(--dark-grey);
    width: 65%;
}

.add-to-cart-btn {
    background-color: #333;
    color: white;
    width: 100%;
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.lottery-info {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #666;
}

.progress-container {
    margin-top: 5px;
}

.progress-bar {
    height: 5px;
    background-color: #EEE;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--progress-blue);
    width: 0%;
}

.progress-text {
    font-size: 0.7rem;
    text-align: right;
    color: #666;
}

/* Product row separator */
.product-row-separator {
    grid-column: 1 / -1;
    height: 3px;
    background-color: var(--primary-orange);
    margin: 15px 0;
}

/* Footer */
.footer {
    background-color: var(--dark-grey);
    color: white;
    padding: 40px 0;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--golden-yellow);
}

.footer-section p, .footer-section a {
    color: #BBB;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #444;
    color: #BBB;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-container {
    background-color: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #DDD;
    border-radius: 4px;
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.modal-btn.primary {
    background-color: var(--primary-orange);
    color: white;
}

.modal-btn.secondary {
    background-color: #DDD;
    color: var(--dark-grey);
}

/* Account Pages */
.account-page {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    display: none;
}

.account-page h2 {
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.transaction-table {
    width: 100%;
    border-collapse: collapse;
}

.transaction-table th, .transaction-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #DDD;
}

.transaction-table th {
    background-color: var(--light-grey);
}

/* Product Detail Modal */
.product-detail-modal {
    max-width: 800px;
}

.product-detail-container {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .product-detail-container {
        flex-direction: row;
    }
}

.product-detail-image {
    flex: 1;
    min-height: 300px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .product-detail-image {
        margin-right: 20px;
        margin-bottom: 0;
    }
}

.product-detail-info {
    flex: 1;
}

.product-detail-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-orange);
}

.product-detail-price {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-detail-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-detail-specs {
    margin-bottom: 20px;
}

.product-detail-specs h4 {
    margin-bottom: 10px;
    border-bottom: 1px solid #EEE;
    padding-bottom: 5px;
}

.product-detail-specs ul {
    padding-left: 20px;
}

.product-detail-specs li {
    margin-bottom: 5px;
}

/* Color selection */
.color-options {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}

.color-option.selected {
    border-color: var(--primary-orange);
}

/* Color availability section */
.color-availability {
    margin: 15px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.color-availability h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.available-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.available-color {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.color-sample {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

/* AI Assistant Styles */
.ai-assistant {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.ai-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.ai-button:hover {
    transform: scale(1.1);
}

.ai-chat-container {
    display: none;
    width: 350px;
    height: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    flex-direction: column;
    overflow: hidden;
}

.ai-chat-header {
    background-color: var(--primary-orange);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.ai-close-chat {
    cursor: pointer;
    font-size: 1.2rem;
}

.ai-chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    max-height: 300px; /* or whatever height you prefer */
    scroll-behavior: smooth;
    background-color: #f9f9f9;
}

.ai-message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
    font-size: 0.9rem;
}

.ai-message.user {
    background-color: var(--primary-orange);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.ai-message.bot {
    background-color: #e5e5ea;
    color: black;
    margin-right: auto;
    border-bottom-left-radius: 5px;
}

.ai-chat-input-container {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background-color: white;
}

.ai-chat-input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.ai-send-button {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.ai-quick-question {
    background-color: #e5e5ea;
    color: black;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ai-quick-question:hover {
    background-color: #d1d1d6;
}

/* Info Box Styles */
.info-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    z-index: 1001;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.info-box h3 {
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.info-box p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-box-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-grey);
}

/* Quick Links Flash Content */
.flash-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    z-index: 1002;
    max-width: 80%;
    text-align: center;
    display: none;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

/* Multi-code display */
.codes-container {
    max-height: 200px;
    overflow-y: auto;
    margin: 15px 0;
    border: 1px solid #EEE;
    padding: 10px;
    border-radius: 4px;
}

.code-item {
    padding: 8px;
    margin: 5px 0;
    background-color: #F9F9F9;
    border-radius: 4px;
    font-family: monospace;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-code-btn {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 3px 8px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Verification code modal */
.verification-code-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.verification-code-input {
    width: 40px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    border: 1px solid #DDD;
    border-radius: 4px;
}

.forgot-password-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 10px;
    display: inline-block;
}

.resend-code-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 10px;
    display: inline-block;
}

/* Keep me signed in checkbox */
.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.remember-me input {
    margin-right: 8px;
}

/* Security features */
.password-strength {
    height: 5px;
    margin-top: 5px;
    background-color: #EEE;
    border-radius: 5px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s;
}

.weak {
    background-color: #FF0000;
    width: 33%;
}

.medium {
    background-color: #FFA500;
    width: 66%;
}

.strong {
    background-color: #0F9D58;
    width: 100%;
}

.password-strength-text {
    font-size: 0.8rem;
    color: #666;
    margin-top: 3px;
}

/* Animation for AI loading dots */
@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.ai-message i.fa-circle {
    font-size: 0.5em;
    margin: 0 2px;
    animation: pulse 1.5s infinite;
}

.ai-message i.fa-circle:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-message i.fa-circle:nth-child(3) {
    animation-delay: 0.4s;
}

.ai-message strong {
    color: var(--primary-orange);
}
.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#generatedCodesContainer {
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

#generatedCodesContainer h3 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.code-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
}

.code-number {
    font-weight: bold;
    margin-right: 10px;
    color: #666;
}

.code-value {
    font-family: monospace;
    font-size: 14px;
    flex-grow: 1;
}

.copy-code-btn {
    padding: 4px 8px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.copy-code-btn:hover {
    background: #0056b3;
}
