﻿/* =========================================================
   EXTRANET GA
   BOAS-VINDAS + FOTO INTEGRADA
   ========================================================= */

#gaWelcomeCard {
    position: relative;
    overflow: hidden;

    margin: 0 0 24px;

    min-height: 164px;

    padding:
        28px
        250px
        28px
        32px;

    display: flex;
    align-items: center;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 22px;

    background:
        radial-gradient(
            circle at 92% 12%,
            rgba(36,135,255,.15),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            rgba(18,23,29,.98),
            rgba(7,18,26,.98)
        );

    box-shadow:
        0 16px 40px
        rgba(0,0,0,.17);
}


/* brilho do painel */

#gaWelcomeCard::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -120px;
    top: -150px;

    border-radius: 50%;

    background:
        rgba(0,196,255,.08);

    filter: blur(35px);

    pointer-events: none;
}


/* TEXTO */

.ga-welcome-content {
    position: relative;
    z-index: 3;
}

.ga-welcome-kicker {
    display: block;

    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .16em;

    color:
        rgba(145,170,195,.72);
}

.ga-welcome-title {
    margin: 0;

    font-size:
        clamp(
            23px,
            3vw,
            32px
        );

    line-height: 1.15;

    letter-spacing: -.035em;

    color: #fff;
}

.ga-welcome-subtitle {
    margin:
        8px
        0
        0;

    font-size: 14px;

    color:
        rgba(205,218,230,.60);
}


/* =========================================================
   FOTO INTEGRADA
   ========================================================= */

.ga-welcome-photo-area {
    position: absolute;

    right: 20px;
    top: 50%;

    transform:
        translateY(-50%);

    width: 200px;
    height: 145px;

    z-index: 4;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}


/* imagem SEM recorte */

.ga-welcome-photo {
    display: none;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    border: none;
    border-radius: 0;

    background: transparent;

    box-shadow: none;

    filter:
        drop-shadow(
            0 10px 22px
            rgba(0,0,0,.28)
        );
}


/* iniciais caso não tenha foto */

.ga-welcome-photo-fallback {
    width: 86px;
    height: 86px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    font-size: 24px;
    font-weight: 900;

    color: #fff;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.11),
            rgba(255,255,255,.035)
        );

    border:
        1px solid
        rgba(255,255,255,.10);
}


/* botão discreto de edição */

.ga-welcome-photo-edit {
    position: absolute;

    right: 1px;
    bottom: 2px;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;
    color: #080b0e;

    font-size: 12px;
    font-weight: 900;

    box-shadow:
        0 4px 12px
        rgba(0,0,0,.35);

    pointer-events: none;
}

#gaWelcomePhotoInput {
    display: none !important;
}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 950px) {

    #gaWelcomeCard {
        padding-right: 190px;
    }

    .ga-welcome-photo-area {
        width: 150px;
        height: 125px;
        right: 16px;
    }
}


@media (max-width: 650px) {

    #gaWelcomeCard {
        padding:
            22px
            20px
            145px;

        min-height: 260px;
    }

    .ga-welcome-photo-area {
        width: 150px;
        height: 120px;

        right: 50%;
        top: auto;
        bottom: 10px;

        transform:
            translateX(50%);
    }

    .ga-welcome-subtitle {
        font-size: 12px;
    }
}

/* =========================================================
   FOTO SOMENTE VISUAL PARA USUARIO
   ========================================================= */

.ga-welcome-photo-area {
    cursor: default !important;
}

.ga-welcome-photo-edit,
#gaWelcomePhotoInput {
    display: none !important;
}

