.buo-premium-ui {
    max-width: 1080px;
    margin: 40px auto;
    padding: 40px;
    background: #1a1c1e;
    color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

.buo-premium-ui * {
    box-sizing: border-box;
}

.buo-premium-ui ::selection {
    background: rgba(34, 113, 177, 0.99);
    color: #ffffff;
}

.buo-header {
    text-align: center;
    margin-bottom: 30px;
}

.buo-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #2271b1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0;
}

.buo-header p {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin: 0;
}

.buo-form-group {
    margin-bottom: 25px;
}

.buo-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.buo-label-row label {
    display: block;
    font-weight: 600;
    color: #e0e0e0;
    font-size: 1rem;
    margin: 0;
}

.buo-count-pill {
    font-family: 'DM Mono', monospace;
    font-size: 0.85rem;
    color: #2271b1;
    background: rgba(34, 113, 177, 0.08);
    border: 1px solid rgba(34, 113, 177, 0.2);
    border-radius: 20px;
    padding: 3px 12px;
    transition: all 0.2s;
}

.buo-form-group textarea {
    width: 100%;
    height: 220px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'DM Mono', monospace;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    caret-color: #2271b1;
}

.buo-form-group textarea:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.2);
}

.buo-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.buo-btn {
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

.buo-btn-primary {
    flex: 2;
    background: linear-gradient(135deg, #2271b1 0%, #3590dc 100%);
    color: #ffffff;
}

.buo-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 113, 177, 0.4);
}

.buo-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.buo-btn-primary:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.buo-btn-secondary {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    color: #a0a0a0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.buo-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.buo-status {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: buo-fadein 0.25s ease;
}

.buo-status.show {
    display: flex;
}

.buo-status.success {
    background: rgba(34, 113, 177, 0.08);
    color: #6ebbff;
    border: 1px solid rgba(34, 113, 177, 0.2);
}

.buo-status.warn {
    background: rgba(240, 160, 74, 0.08);
    color: #f0a04a;
    border: 1px solid rgba(240, 160, 74, 0.2);
}

.buo-status.danger {
    background: rgba(255, 95, 95, 0.08);
    color: #ff5f5f;
    border: 1px solid rgba(255, 95, 95, 0.2);
}

.buo-status svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.buo-hint {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #707070;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.buo-hint svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

@keyframes buo-fadein {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .buo-premium-ui {
        padding: 25px;
        margin: 20px auto;
    }
    .buo-actions {
        flex-direction: column;
    }
    .buo-header h2 {
        font-size: 1.8rem;
    }
}
