/* Profilový obrázok - Setting sekcia */
.profile-image-section {
    max-width: 600px;
    margin: 0 auto;
}

.current-image {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.current-image img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    object-fit: cover;
    transition: all 0.3s ease;
    cursor: pointer;
}

.current-image img:hover {
    transform: scale(1.3);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
    border-radius: 16px;
    z-index: 100;
    position: relative;
    transition-delay: 0s;
}

.current-image img:not(:hover) {
    transition-delay: 3s;
}

.no-image {
    color: #6c757d;
}

.no-image i {
    font-size: 80px;
    margin-bottom: 10px;
    color: #dee2e6;
}

.image-info {
    margin-top: 10px;
    color: #6c757d;
    font-size: 14px;
}

.image-preview {
    text-align: center;
    margin: 15px 0;
    padding: 15px;
    background-color: #e8f5e8;
    border-radius: 8px;
    border: 2px dashed #28a745;
}

.image-preview img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

#profile-image-upload {
    margin-bottom: 10px;
}

/* Drag & Drop štýly */
.current-image.dragover {
    border-color: #007bff;
    background-color: #e8f4fd;
}

/* Responzívne pre mobilné zariadenia */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .form-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Modal okna - malé profilové obrázky */
.user-profile-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #dee2e6;
    margin-right: 10px;
}

.user-profile-image-small {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #dee2e6;
    margin-right: 8px;
}

/* Placeholder ak nemá obrázok */
.user-avatar-placeholder {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #6c757d;
    font-size: 24px;
}

.user-avatar-placeholder-small {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    font-size: 18px;
    margin-right: 8px;
}

/* Modal okno - header s avatarom */
.user-modal-header {
    margin-bottom: 20px;
}

.user-info-with-avatar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info-with-avatar h2 {
    margin: 0;
    font-size: 1.5rem;
}

/* Avatar v modal okne s predĺženým hover efektom */
#user-modal-avatar {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

#user-modal-avatar:hover {
    transform: scale(2.0);
    z-index: 1000;
    border-color: #007bff;
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    border-radius: 16px;
    position: relative;
    transition-delay: 0s;
}

#user-modal-avatar:not(:hover) {
    transition-delay: 3s;
}

#user-modal-avatar-placeholder {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 28px;
}

/* Responzívne pre mobilné zariadenia */
@media (max-width: 768px) {
    .user-info-with-avatar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    #user-modal-avatar,
    #user-modal-avatar-placeholder {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .user-info-with-avatar h2 {
        font-size: 1.3rem;
    }
}

/* Plynulá animácia pre všetky profilové obrázky */
.user-profile-image {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Smooth zoom efekt */
#user-modal-avatar,
.current-image img {
    will-change: transform;
}

/* Animácie pre smooth zobrazenie */
#user-modal-avatar,
#user-modal-avatar-placeholder {
    transition: all 0.3s ease;
}