/* U/L Modal - EXACT Main Site Styling (Ultra-Minimal) */
/* ONLY 2 colors, ONLY thin lines, ONLY monospace font */

/* Backdrop */
.ul-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
}

.ul-backdrop.ul-panel-visible {
    display: block;
}

/* Panel - EXACTLY like product cards */
.ul-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    max-width: 90vw;
    max-height: 80vh;
    background: var(--bg);
    border: 1px solid var(--text);
    z-index: 10000;
    display: none;
    font-family: monospace;
}

.ul-panel.ul-panel-visible {
    display: block;
}

/* Header - Simple thin line separator */
.ul-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--text);
}

.ul-panel-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text);
    font-family: monospace;
}

.ul-panel-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    font-family: monospace;
}

.ul-panel-close:hover {
    background: var(--text);
    color: var(--bg);
}

/* Content */
.ul-panel-content {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(80vh - 110px);
}

/* Upload area - exactly like product cards */
.ul-upload-area {
    border: 1px solid var(--text);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.ul-upload-area:hover {
    background: var(--text);
    color: var(--bg);
}

.ul-upload-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-family: monospace;
}

.ul-upload-info {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    opacity: 0.7;
    font-family: monospace;
}

/* Section titles */
.ul-section-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--text);
    font-family: monospace;
    font-weight: normal;
}

/* Skills grid */
.ul-skills-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Skill item - exactly like product cards */
.ul-skill-item {
    border: 1px solid var(--text);
    padding: 15px;
}

.ul-skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ul-skill-name {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
}

.ul-skill-category {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    font-family: monospace;
}

/* Rating rows */
.ul-rating-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.ul-rating-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100px;
    font-family: monospace;
}

/* Rating buttons - exactly like product buttons */
.ul-rating-scale {
    display: flex;
    gap: 2px;
    flex: 1;
}

.ul-rating-btn {
    flex: 1;
    height: 30px;
    background: var(--bg);
    border: 1px solid var(--text);
    color: var(--text);
    cursor: pointer;
    font-size: 11px;
    font-family: monospace;
    transition: all 0.2s ease;
}

.ul-rating-btn:hover {
    background: var(--text);
    color: var(--bg);
}

.ul-rating-btn.selected {
    background: var(--text);
    color: var(--bg);
}

/* Add skill section */
.ul-add-skill {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--text);
}

.ul-add-skill-row {
    display: flex;
    gap: 10px;
}

.ul-skill-input {
    flex: 1;
    padding: 10px;
    background: var(--bg);
    border: 1px solid var(--text);
    color: var(--text);
    font-family: monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ul-skill-input:focus {
    outline: none;
    background: var(--text);
    color: var(--bg);
}

.ul-skill-input::placeholder {
    opacity: 0.5;
}

.ul-add-btn {
    padding: 10px 20px;
    background: var(--bg);
    border: 1px solid var(--text);
    color: var(--text);
    cursor: pointer;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
    transition: all 0.2s ease;
}

.ul-add-btn:hover {
    background: var(--text);
    color: var(--bg);
}

/* Footer */
.ul-panel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid var(--text);
}

/* Generate button - exactly like product buttons */
.ul-generate-btn {
    padding: 10px 20px;
    background: var(--text);
    color: var(--bg);
    border: 1px solid var(--text);
    cursor: pointer;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
    transition: all 0.2s ease;
}

.ul-generate-btn:hover {
    background: var(--bg);
    color: var(--text);
}

.ul-reset-btn {
    padding: 10px 20px;
    background: var(--bg);
    border: 1px solid var(--text);
    color: var(--text);
    cursor: pointer;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
    transition: all 0.2s ease;
}

.ul-reset-btn:hover {
    background: var(--text);
    color: var(--bg);
}

/* Link copied notification */
.ul-link-copied {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--text);
    color: var(--bg);
    padding: 20px 30px;
    border: 1px solid var(--text);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
    z-index: 10002;
    display: none;
}

.ul-link-copied.show {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ul-link-icon {
    font-size: 16px;
}

/* Simple notification */
.ul-notification {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: var(--bg);
    padding: 15px 25px;
    border: 1px solid var(--text);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
    z-index: 10001;
    display: none;
}

.ul-notification.show {
    display: block;
}

/* Scrollbar - minimal */
.ul-panel-content::-webkit-scrollbar {
    width: 10px;
}

.ul-panel-content::-webkit-scrollbar-track {
    background: var(--bg);
}

.ul-panel-content::-webkit-scrollbar-thumb {
    background: var(--text);
    border: 1px solid var(--bg);
}

/* Remove ALL effects not in main site */
/* NO shadows, NO rounded corners, NO gradients */
* {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Exceptions: the round trigger buttons keep their style from ab-testing.css */
.ul-trigger-btn,
.ab-trigger-btn {
    border-radius: 25px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.ul-trigger-btn:hover,
.ab-trigger-btn:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .ul-panel {
        width: 95vw;
        max-height: 90vh;
    }
    
    .ul-rating-btn {
        min-width: 25px;
        font-size: 10px;
    }
}