:root {
    --primary-color: #FF5A5F;
    --primary-hover: #ff385c;
    --bg-color: #f7f7f7;
    --card-bg: #ffffff;
    --text-main: #222222;
    --text-muted: #717171;
    --border-color: #dddddd;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
}

.hidden {
    display: none !important;
}

/* ------------------------
   BUILDER UI STYLES
------------------------ */
#builder-ui {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 40px 20px;
}

.builder-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.header p {
    font-size: 16px;
    color: var(--text-muted);
}

#scenes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.scene-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.scene-item:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.remove-scene-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s ease;
}

.remove-scene-btn:hover {
    color: #ff385c;
}

.input-group {
    margin-bottom: 20px;
}

.input-group:last-child {
    margin-bottom: 0;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.input-group input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.input-group input[type="text"]:focus {
    border-color: var(--primary-color);
}

.file-drop-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background-color: #fafafa;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.file-drop-area:hover, .file-drop-area.is-active {
    border-color: var(--primary-color);
    background-color: #fff8f8;
}

.file-msg {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.scene-image {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0;
}

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 90, 95, 0.3);
}

.secondary-btn {
    background-color: white;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.secondary-btn:hover {
    background-color: #f1f1f1;
}

/* ------------------------
   VIEWER UI STYLES
------------------------ */
#viewer-ui {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000;
}

#panorama {
    width: 100%;
    height: 100%;
}

.floating-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
}

.floating-btn:hover {
    background-color: white;
    transform: translateY(-1px);
}

/* Customize the Pannellum hotspots */
.pnlm-hotspot-base {
    border-radius: 50%;
}
