/* VOIDBOUND - Ship Customization Styles */

/* ============================================
   Customization Overlay
   ============================================ */
.customization-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.customization-panel {
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: linear-gradient(135deg,
        rgba(20, 25, 35, 0.98) 0%,
        rgba(10, 12, 20, 0.99) 100%);
    border: 2px solid var(--primary, #00f0ff);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ============================================
   Header
   ============================================ */
.customization-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background: rgba(0, 240, 255, 0.05);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.customization-header h3 {
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: 1.2rem;
    color: var(--primary, #00f0ff);
    letter-spacing: 3px;
    margin: 0;
}

/* ============================================
   Content
   ============================================ */
.customization-content {
    flex: 1;
    padding: 20px 25px;
    overflow-y: auto;
}

.customization-section {
    margin-bottom: 25px;
}

.customization-section h4 {
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: 0.9rem;
    color: var(--accent, #ff6b00);
    letter-spacing: 2px;
    margin: 0 0 12px 0;
}

.customization-section h5 {
    font-family: var(--font-body, 'Rajdhani', sans-serif);
    font-size: 0.85rem;
    color: var(--text-dim, #888);
    margin: 15px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Room Name Input
   ============================================ */
.room-name-input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.room-name-input input {
    flex: 1;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 6px;
    color: var(--text-bright, #fff);
    font-family: var(--font-body, 'Rajdhani', sans-serif);
    font-size: 1rem;
}

.room-name-input input:focus {
    outline: none;
    border-color: var(--primary, #00f0ff);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.room-name-input input::placeholder {
    color: var(--text-dim, #666);
    font-style: italic;
}

.room-name-input button {
    padding: 10px 15px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 6px;
    color: var(--primary, #00f0ff);
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.room-name-input button:hover {
    background: rgba(0, 240, 255, 0.2);
    border-color: var(--primary, #00f0ff);
}

#btn-reset-room-name {
    background: rgba(255, 100, 100, 0.1);
    border-color: rgba(255, 100, 100, 0.4);
    color: var(--danger, #ff4444);
}

#btn-reset-room-name:hover {
    background: rgba(255, 100, 100, 0.2);
}

/* ============================================
   Decorations
   ============================================ */
.decorations-current,
.decorations-available {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.decoration-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.decoration-item:hover {
    background: rgba(0, 240, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.3);
}

.decoration-item.installed {
    border-color: rgba(0, 255, 100, 0.3);
    background: rgba(0, 255, 100, 0.05);
}

.decoration-info {
    flex: 1;
}

.decoration-name {
    font-family: var(--font-body, 'Rajdhani', sans-serif);
    font-size: 1rem;
    color: var(--text-bright, #fff);
    display: block;
}

.decoration-desc {
    font-size: 0.8rem;
    color: var(--text-dim, #888);
    margin-top: 3px;
    display: block;
}

.btn-add-decoration,
.btn-remove-decoration {
    padding: 6px 12px;
    border-radius: 4px;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add-decoration {
    background: rgba(0, 255, 100, 0.1);
    border: 1px solid rgba(0, 255, 100, 0.4);
    color: var(--success, #00ff64);
}

.btn-add-decoration:hover {
    background: rgba(0, 255, 100, 0.2);
    border-color: var(--success, #00ff64);
}

.btn-remove-decoration {
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.4);
    color: var(--danger, #ff4444);
}

.btn-remove-decoration:hover {
    background: rgba(255, 100, 100, 0.2);
    border-color: var(--danger, #ff4444);
}

.decorations-current .empty {
    font-size: 0.9rem;
    color: var(--text-dim, #666);
    font-style: italic;
    padding: 10px 0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 600px) {
    .customization-panel {
        width: 95%;
        max-height: 90vh;
    }

    .customization-header {
        padding: 12px 15px;
    }

    .customization-header h3 {
        font-size: 1rem;
    }

    .customization-content {
        padding: 15px;
    }

    .room-name-input {
        flex-wrap: wrap;
    }

    .room-name-input input {
        width: 100%;
        flex: none;
    }

    .room-name-input button {
        flex: 1;
    }

    .decoration-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .decoration-item button {
        align-self: flex-end;
    }
}
