/* =========================================================
   BOTÕES PERSONALIZADOS - DIGITALCARTÓRIOS
   Padrão visual para botões do sistema/site
========================================================= */


/* =========================================================
   1. BASE GERAL DOS BOTÕES
========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}


/* =========================================================
   2. VARIAÇÕES DE CORES
========================================================= */

/* Principal - Azul */
.btn-primary-custom {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
}

    .btn-primary-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    }


/* Sucesso - Verde */
.btn-success-custom {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
}

    .btn-success-custom:hover {
        box-shadow: 0 10px 25px rgba(22, 163, 74, 0.4);
    }


/* Perigo / Excluir - Vermelho */
.btn-danger-custom {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
}

    .btn-danger-custom:hover {
        box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
    }


/* Atenção - Amarelo/Laranja */
.btn-warning-custom {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
}

    .btn-warning-custom:hover {
        box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    }


/* Claro */
.btn-light-custom {
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

    .btn-light-custom:hover {
        background: #eef2f7;
    }


/* Outline Azul */
.btn-outline-primary-custom {
    background: transparent;
    border: 1px solid #2563eb;
    color: #2563eb;
}

    .btn-outline-primary-custom:hover {
        background: #2563eb;
        color: #ffffff;
    }


/* Glass / Transparente */
.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .btn-glass:hover {
        background: rgba(255, 255, 255, 0.25);
    }


/* Premium - Escuro */
.btn-premium {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    border: 1px solid #334155;
}

    .btn-premium:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }


/* =========================================================
   3. TAMANHOS E FORMATOS
========================================================= */

/* Botão largura total */
.btn-block-custom {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border-radius: 12px;
}


/* =========================================================
   4. EFEITOS VISUAIS
========================================================= */

/* Efeito ripple */
.btn-ripple::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: 0.5s;
}

.btn-ripple:active::after {
    width: 200px;
    height: 200px;
    opacity: 0;
}
