@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

html {
    height: 100%; 
    overflow-y: auto; 
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    background-size: cover;
    background-attachment: fixed;
    
    color: white;
    font-size: 16px; 
    
    display: grid;
    place-items: center; 
    min-height: 100vh; 
    padding: 2.5rem 0; 
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.dropzone {
    background: rgba(0,0,0,0.2) !important;
    border: 2px dashed rgba(255,255,255,0.2) !important;
    border-radius: 12px !important;
    color: #cbd5e1 !important;
    transition: all 0.3s ease;
}
.dropzone:hover {
    border-color: #60a5fa !important;
    background: rgba(0,0,0,0.3) !important;
}
.dz-preview .dz-image { border-radius: 8px !important; }
.dz-remove { color: #f87171 !important; text-decoration: none !important; margin-top: 5px; font-weight: bold; }

select.glass-select, input.glass-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 8px;
    outline: none;
    width: 100%;
    cursor: pointer;
}
input.glass-input:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: rgba(255, 255, 255, 0.1);
}

select.glass-select option {
    background: #1e293b;
    color: white;
}

.file-list-ul {
    list-style-type: none;
    padding: 10px 0 0 0;
}
.file-list-ul li {
    background: rgba(0, 0, 0, 0.1);
    padding: 8px 10px;
    margin-bottom: 5px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #cbd5e1;
    overflow-wrap: break-word; 
}

.copy-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    
    width: 44px !important; 
    height: 44px !important;
    padding: 0 !important;
    
    display: flex; 
    align-items: center;
    justify-content: center;
    box-sizing: border-box; 
    flex-shrink: 0;
}
.copy-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

#preview-template .dz-preview {
    display: flex;
    align-items: center;
}
#preview-template .dz-details {
    flex-grow: 1;
    min-width: 0;
}
/* SKRIJE POSAMEZNE VRSTICE NAPREDKA */
#preview-template .dz-progress {
    display: none !important; 
}
#preview-template .dz-remove {
    margin-left: 15px;
    flex-shrink: 0;
}

#preview-container {
    max-height: 250px; 
    overflow-y: auto;
    padding-right: 15px; 
}