* {
    box-sizing: border-box;
}

.file-upload {
    display: inline-block;
    background: rgba(70, 70, 70, 0.2);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    margin-bottom: 1.5rem;
    transition: background 0.3s;
}

.file-upload:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #000000;
    transition: 0.3s;
}

.file-upload input[type="file"] {
    display: none;
}


body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    backdrop-filter: blur(6px);
}

.app {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 260px;
    padding: 2rem 1rem;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(12px);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.sidebar h2 {
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.sidebar button {
    background: transparent;
    border: none;
    padding: 0.8rem;
    text-align: left;
    color: #eee;
    font-size: 1rem;
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.sidebar button.active{
    background: rgba(255,255,255,0.1);
    border-left: 4px solid #d8b400;
}

.sidebar button:hover {
    background: rgba(255,255,255,0.1);
    border-left: 4px solid #d8b400;
}

main {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: #fff;
}

.panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

section {
    margin-bottom: 2rem;
    background: rgba(120,120,120,0.4);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

section h2 {
    margin-top: 0;
}

label {
    display: block;
    margin: 0.5rem 0;
}

input[type="text"],
input[type="number"],
input[type="color"] {
    width: 100%;
    padding: 0.5rem;
    border: none;
    border-radius: 8px;
    margin-top: 0.25rem;
}

input[type="file"] {
    margin-bottom: 1rem;
}

.backpack-item {
    background: rgba(70, 70, 70, 0.2);
    padding: 0.8rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}

.backpack-item button {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.backpack-item input {
    flex-grow: 1;
    margin-right: 0.5rem;
}

.version-label {
    position: fixed;
    bottom: 10px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    pointer-events: none;
}

.btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    border: none;
    transition: 0.3s;

}

.btn:hover {
    background: rgba(255, 255, 255, 0.6);
    color: rgba(70, 70, 70);
    transition: 0.2s;
}

