/* ==========================================================================
   UniTools — Identidade Visual seguindo o Design Oficial do Zuply Squoosh
   ========================================================================== */

:root {
    --theme-color-rgb: 233, 44, 77;
    --secundary-color-rgb: 0, 157, 255;
    --theme-color: #e92c4d;
    --theme-color-hover: #d42342;
    --secundary-color: #009dff;
    --secundary-color-hover: #0084d6;
    --theme-color-soft: rgba(var(--theme-color-rgb), 0.78);
    --theme-color-muted: rgba(var(--theme-color-rgb), 0.16);
    --theme-color-border: rgba(var(--theme-color-rgb), 0.42);

    --squoosh-dark: #13151a;
    --squoosh-card: rgba(26, 29, 37, 0.92);
    --squoosh-border: rgba(255, 255, 255, 0.09);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--squoosh-dark);
    color: #f1f5f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
}

/* Fundo xadrez clássico de transparência (idêntico ao Zuply Squoosh) */
.checkerboard-bg {
    background-color: #16181f;
    background-image:
        linear-gradient(45deg, #1e212a 25%, transparent 25%),
        linear-gradient(-45deg, #1e212a 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #1e212a 75%),
        linear-gradient(-45deg, transparent 75%, #1e212a 75%);
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0;
}

/* Painéis Glassmorphism estilo Zuply */
.squoosh-glass {
    background: var(--squoosh-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--squoosh-border);
}

/* Quadradinho estilo App (App Tile Card) para cada ferramenta na tela principal */
.app-tile-card {
    position: relative;
    background: rgba(25, 28, 36, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 26px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    aspect-ratio: 1 / 1;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.22s ease,
                box-shadow 0.22s ease;
    text-decoration: none;
    overflow: hidden;
}

.app-tile-card:hover {
    transform: translateY(-6px) scale(1.015);
    border-color: rgba(0, 157, 255, 0.55);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7),
                0 0 28px -6px rgba(233, 44, 77, 0.32);
}

.app-tile-icon-wrap {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(233, 44, 77, 0.45), rgba(0, 157, 255, 0.45));
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.22s ease;
}

.app-tile-card:hover .app-tile-icon-wrap {
    transform: scale(1.07);
}

.app-tile-icon {
    width: 100%;
    height: 100%;
    border-radius: 19px;
    object-fit: cover;
    background: #13151a;
}

/* Botões desabilitados nos formulários */
button:disabled {
    opacity: 0.42 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

