

.header-left {
    display: flex;
    align-items: center;
}


/* Logo Platzhalter */
.logo-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--border-color), var(--gray-50));
    border: 2px dashed var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-light);
    opacity: 0.7;
    font-size: 18px;
    margin: 2px 0; /* Vertikale Zentrierung */
}

.logo-placeholder:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), var(--white-a10));
    border-color: var(--border-light);
    color: var(--text-light);
    opacity: 0.9;
    transform: scale(1.05);
}

.logo-placeholder:before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(255,255,255,0.7)"><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Logo Upload Modal */
.logo-upload-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-a70);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.logo-upload-content {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
}

.logo-upload-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.logo-upload-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.logo-upload-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.logo-upload-close:hover {
    background: var(--gray-100);
    color: var(--gray-600);
}

.logo-upload-body {
    margin-bottom: 20px;
}

.logo-file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
}

.logo-file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.logo-file-input-label {
    display: block;
    padding: 20px;
    border: 2px dashed var(--gray-300);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--gray-50);
}

.logo-file-input-label:hover {
    border-color: var(--success-color);
    background: var(--alert-success-bg);
}

.logo-file-input-label:before {
    content: "";
    width: 32px;
    height: 32px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234CAF50"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    margin: 0 auto 8px;
}

.logo-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    margin: 15px auto;
    display: none;
    box-shadow: var(--shadow-md);
}

.logo-upload-info {
    background: var(--gray-100);
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 15px;
}

.logo-upload-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}


/* Responsive */
@media (max-width: 768px) {
    .logo-upload-content {
        width: 95%;
        margin: 20px;
        padding: 20px;
    }
    
    .logo-placeholder {
        width: 35px;
        height: 35px;
    }
}
