/* Birthday Events Custom Styles */

/* Gradientes e cores personalizadas */
.bg-primary-gradiant {
    background: linear-gradient(135deg, #7857f5 0%, #8D6FF7 100%) !important;
}

.bg-lightblue {
    background-color: #fbfcfe !important;
}

.border-dashed {
    border-style: dashed !important;
}

/* Animações suaves */
.hover-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.08) !important;
}

/* Estilo para inputs de arquivo */
input[type="file"] + label {
    cursor: pointer;
    transition: all 0.1s ease;
}

input[type="file"] + label:hover {
    opacity: 0.8;
}

/* Progress bar customizada */
.progress {
    border-radius: 10px !important;
    overflow: hidden;
    background-color: #e0e0e0;
}

.progress-bar {
    transition: width 0.6s ease;
    border-radius: 10px;
}

/* Radio buttons como cards */
.btn-check:checked + .btn-outline-primary {
    background: linear-gradient(135deg, #7857f5 0%, #8D6FF7 100%);
    border-color: #7857f5;
    color: white;
}

.btn-outline-primary {
    color: #7857f5;
    transition: all 0.1s ease;
}

.btn-outline-primary:hover {
    border-color: #7857f5;
    color: #fff;
    background-color:#7857f5;
}


.rounded-xxl {
    border-radius: 20px !important;
}

.rounded-xl {
    border-radius: 15px !important;
}

/* Botões customizados */
.btn-primary {
    background-color: #856de6;
    border: none;
    transition: all 0.1s ease;
}

.btn-primary:hover {
    background-color: #7456d1;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(133, 109, 230, 0.3);
}

/* Input groups melhorados */
.input-group-text {
    background-color: white;
    border: 1px solid #ddd;
}

.form-control {
    border: 1px solid #ddd;
    transition: all 0.1s ease;
}

.form-control:focus {
    border-color: #7857f5;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

/* Badges personalizados */
.badge {
    padding: 8px 16px;
    font-weight: 100;
    letter-spacing: 0.5px;
}

/* Alertas customizados */
.alert {
    border: none;
}

.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.5s ease;
}

/* Emoji styles */
.emoji-large {
    font-size: 80px;
    line-height: 1;
    display: inline-block;
}

/* Link styles */
.btn-link {
    text-decoration: none;
    transition: all 0.1s ease;
}

.btn-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Checkbox e radio customizados */
.form-check-input:checked {
    background-color: #7857f5;
    border-color: #7857f5;
}

/* Responsividade */
@media (max-width: 768px) {
    .emoji-large {
        font-size: 60px;
    }
    
    .font-xl {
        font-size: 1.5rem !important;
    }
    
    .p-lg-5 {
        padding: 1.5rem !important;
    }
}

/* Copy button feedback */
.btn-success {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border: none;
}

/* Preview de imagem */
#preview-container img,
#preview-container-2 img {
    border: 3px solid #7857f5;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

/* Skeleton loading (opcional para futuras implementações) */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Transitions globais para os cards */
.card-body {
    transition: all 0.1s ease;
}

/* Estilo especial para o header com ilustração */
.card[style*="linear-gradient"] {
    position: relative;
    overflow: hidden;
}

.card[style*="linear-gradient"]::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Z-index para conteúdo do card ficar acima do efeito */
.card[style*="linear-gradient"] .card-body {
    position: relative;
    z-index: 1;
}

/* Fix para middle-sidebar-right-content ocupar 100% da altura */
.right-chat .middle-sidebar-right-content {
    height: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.right-chat .middle-sidebar-right-content .section.full {
    flex: 1 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.right-chat .middle-sidebar-right-content .section.full .list-group {
    flex: 1 !important;
    overflow-y: auto !important;
}

/* Esconder barra de rolagem mas manter funcionalidade de scroll */
.right-chat .middle-sidebar-right-content .section.full .list-group {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE e Edge */
}

.right-chat .middle-sidebar-right-content .section.full .list-group::-webkit-scrollbar {
    display: none; /* Chrome, Safari e Opera */
}

