.go-robots-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #0f0f0f;
    color: #e0e0e0;
    border-radius: 12px;
}

.go-robots-left h2,
.go-robots-right h2 {
    margin: 0 0 20px;
    font-size: 1.5rem;
    color: #fff;
}

.go-robots-field {
    margin-bottom: 20px;
}

.go-robots-field label {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    font-weight: 500;
}

.go-robots-field input,
.go-robots-field select,
.go-robots-field textarea {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
}

.go-robots-field textarea {
    resize: vertical;
    min-height: 120px;
    font-family: monospace;
}

.radio-group label {
    margin-right: 20px;
    color: #ddd;
}

.go-robots-generate-btn {
    width: 100%;
    padding: 16px;
    background: #0066ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.go-robots-generate-btn:hover {
    background: #0055dd;
}

.go-robots-right {
    background: #111;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #222;
}

.go-robots-output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.go-robots-actions button {
    padding: 8px 16px;
    margin-left: 10px;
    background: #222;
    color: #aaa;
    border: 1px solid #444;
    border-radius: 6px;
    cursor: pointer;
}

.go-robots-actions button:not(:disabled):hover {
    background: #333;
    color: #fff;
}

.go-robots-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.go-robots-code {
    background: #000;
    color: #0f0;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Consolas', monospace;
    white-space: pre-wrap;
    min-height: 200px;
    overflow: auto;
}

.go-robots-tip {
    margin-top: 15px;
    color: #888;
    font-size: 0.9rem;
}
.radio-label {
    display: inline-flex;           /* or flex */
    align-items: center;
    cursor: pointer;
    color: #e0e0e0;
    font-size: 1rem;
    user-select: none;
    gap: 10px;                      /* space between circle and text */
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom circle — stays in flow, no absolute positioning */
.radio-label .radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #555;
    border-radius: 50%;
    flex-shrink: 0;
    background: #1a1a1a;
    position: relative;             /* only relative — needed for ::after */
    transition: border-color 0.2s;
}

.radio-label .radio-custom::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    background: #0066ff;
    border-radius: 50%;
    transform: scale(0);
    /*transition: transform 0.18s ease;*/
}
.radio-options {
    display: flex;
}
.radio-label input:checked + .radio-custom {
    border-color: #0066ff;
}

.radio-label input:checked + .radio-custom::after {
    transform: scale(1);
}

.radio-label:hover .radio-custom {
    border-color: #888;
}

.radio-label {
    display: block;                 /* or inline-block */
    position: relative;             /* ← important: parent becomes positioning context */
    padding-left: 32px;             /* ← make space for the absolute circle on the left */
    cursor: pointer;
    color: #e0e0e0;
    min-height: 24px;               /* prevent collapse */
    line-height: 24px;
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-label .radio-custom {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #555;
    border-radius: 50%;
    background: #1a1a1a;
}

.radio-label input:checked + .radio-custom {
    border-color: #0066ff;
}

.radio-label input:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 64%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #0066ff;
    border-radius: 50%;
}
@media (max-width: 900px) {
    .go-robots-container {
        grid-template-columns: 1fr;
    }
}