/**
 * Estilos para notificações e convites
 */

/* Notificações */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon {
    position: relative;
}

.notification-item {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.notification-item.unread {
    border-left-color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

.notification-item.read {
    opacity: 0.8;
}

/* Convites */
.invite-item {
    transition: all 0.3s ease;
}

.invite-item:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Alerta Container */
.alert-container {
    z-index: 9999;
}

.alert-container .alert {
    margin-bottom: 10px;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropzone */
.dropzone {
    border: 2px dashed #007bff;
    border-radius: 5px;
    background: #f8f9fa;
    min-height: 150px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropzone:hover {
    background: #e9ecef;
}

.dropzone .dz-message {
    margin: 2em 0;
}

.dropzone .dz-preview {
    margin: 10px;
}

/* Media Gallery */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.media-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.media-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.media-item video {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Formulários */
.form-switch .form-check-input {
    width: 3em;
}

.form-switch .form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}
