.rog-container {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background-color: #1F2124;
    color: white;
    max-width: 1200px;
    margin: 2rem auto;
}

.rog-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.rog-options {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.option-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rog-options select,
.rog-options input[type="number"] {
    padding: 0.75rem 2.5rem 0.75rem 0.75rem; /* Top, Right, Bottom, Left */
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #2A2C2F;
    color: white;
    position: relative;
    appearance: none !important; /* Force remove default arrow */
    -webkit-appearance: none !important; /* Safari/Chrome */
    -moz-appearance: none !important; /* Firefox */
    cursor: pointer;
    width: 100%;
    max-width: 250px;
}

.rog-options select::after {
    content: '';
    position: absolute;
    right: 1rem; /* Distance from the right edge - adjust to increase/decrease space */
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #FFFFFF; /* White arrow */
    pointer-events: none; /* Ensure it doesn't interfere with clicks */
}

.rog-options .category {
    font-size: 1rem;
    background-color: #2A2C2F;
}

.rog-options input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 0.5rem;
}

.show-image-container {
    margin: 1rem 0;
}

#generate, .copy-btn {
    background-color: #9B59B6;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

#generate:hover, .copy-btn:hover {
    background-color: #4C7BAF;
}

#result-container {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    justify-items: center;
}

.card {
    background-color: #F1C40F;
    padding: 1.5rem;
    border-radius: 8px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.object-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.object-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .rog-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    #result-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .rog-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .card {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .rog-container {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .rog-options {
        gap: 0.75rem;
    }
    
    #generate, .copy-btn {
        padding: 0.5rem 1rem;
        width: 100%;
    }
    
    .card {
        max-width: 100%;
    }
}