﻿.embed-generator {
    padding: 1.5rem;
    background-color: #252526;
    border-radius: 6px;
}

.option-group {
    margin: 1rem 0;
}

    .option-group label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #cccccc;
    }

    .option-group input[type="number"],
    .option-group select {
        padding: 0.5rem;
        background-color: #1e1e1e;
        border: 1px solid #3f3f3f;
        border-radius: 4px;
        color: #ffffff;
    }

.embed-code {
    margin-top: 1.5rem;
}

.code-container {
    position: relative;
    background-color: #1e1e1e;
    border-radius: 4px;
    padding: 1rem;
}

    .code-container pre {
        margin: 0;
        white-space: pre-wrap;
        word-break: break-all;
        color: #cccccc;
        font-family: Consolas, 'Courier New', monospace;
    }

.copy-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #0078d4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .copy-button:hover {
        background-color: #006cbd;
    }

/* Container */
.generator-container {
    margin: 0;
    background: #2e2e2e;
    padding: 20px;
    border-radius: 0px;
    font-family: Arial, sans-serif;
    color: #f0f0f0;
}

/* Settings Section */
.settings {
    margin-bottom: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.form-group {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
}

    .form-group label {
        margin-bottom: 5px;
        font-size: 0.9rem;
        color: #bbb;
    }

    .form-group input,
    .form-group select {
        padding: 6px 8px;
        border: 1px solid #555;
        border-radius: 4px;
        background: #444;
        color: #f0f0f0;
        font-size: 0.9rem;
    }

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

/* Output Section */
.output {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.code-section,
.script-section {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 6px;
    position: relative;
}

    .code-section h4,
    .script-section h4 {
        margin: 0 0 10px;
        font-size: 1rem;
        color: #fff;
    }

/* Embed Code */
.code-container {
    position: relative;
}

    .code-container pre {
        background: #1e1e1e;
        border: 1px solid #333;
        border-radius: 4px;
        padding: 10px;
        margin: 0;
        font-size: 0.85rem;
        overflow-x: auto;
        color: #a6e22e;
    }

/* Script Link as Input Group */
.input-group {
    display: flex;
    align-items: center;
}

.script-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #555;
    border-right: none;
    border-radius: 4px 0 0 4px;
    background: #444;
    color: #f0f0f0;
    font-size: 0.9rem;
}

/* Copy Button */
.copy-btn {
    background: var(--text-secondary);
    border: none;
    color: var(--background);
    padding: 8px 12px;
    font-size: 0.85rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s;
}

    .copy-btn:hover {
        background: var(--text-primary);
    }

/* Copy Feedback Message */
.copy-feedback {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--text-primary);
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    animation: fadeOut 2s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}