/* =========================================================
   REDECALL — TRABALHE CONOSCO
   Opções de inscrição
   Baseado no protótipo Lovable
   ========================================================= */


/* ---------------------------------------------------------
   CONTAINER
   --------------------------------------------------------- */

.rc-inscricao-opcoes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
}


/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */

.rc-inscricao-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    width: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
    border: 1px solid #272c35;
    border-radius: 0.75rem;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;

    -webkit-tap-highlight-color: transparent;
}


/* ---------------------------------------------------------
   RADIO
   --------------------------------------------------------- */

.rc-inscricao-card input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}


/* ---------------------------------------------------------
   HOVER
   Lovable:
   hover:border-foreground/30
   --------------------------------------------------------- */

.rc-inscricao-card:hover {
    border-color: #fff;
}


/* ---------------------------------------------------------
   ÍCONE
   --------------------------------------------------------- */

.rc-inscricao-icon {
    flex-shrink: 0;

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

    width: 1.5rem;
    height: 1.5rem;

    margin-top: 0.25rem;

    color: hsl(14 90% 55%);
}


.rc-inscricao-icon svg {
    display: block;

    width: 1.5rem;
    height: 1.5rem;

    flex-shrink: 0;

    stroke: currentColor;
}


/* ---------------------------------------------------------
   CONTEÚDO
   --------------------------------------------------------- */

.rc-inscricao-content {
    display: flex;
    flex-direction: column;

    min-width: 0;
}


/* ---------------------------------------------------------
   TÍTULO
   --------------------------------------------------------- */

.rc-inscricao-title {    
    font-size: 1.2rem;    
    font-weight: 600;
    color: #fff;
    margin-top: -30px;
}


/* ---------------------------------------------------------
   DESCRIÇÃO
   --------------------------------------------------------- */

.rc-inscricao-description {
    display: block;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 400;
    color: #667085;
    margin-top: -20px;
}


/* ---------------------------------------------------------
   CARD SELECIONADO
   --------------------------------------------------------- */

.rc-inscricao-card.rc-selected {
    border-color: hsl(14 90% 55%);

    background-color: hsl(14 90% 55% / 0.04);

    box-shadow:
        0 0 0 1px hsl(14 90% 55% / 0.15);
}


/* Ícone do selecionado */

.rc-inscricao-card.rc-selected .rc-inscricao-icon {
    color: hsl(14 90% 55%);
}


/* ---------------------------------------------------------
   FOCUS
   --------------------------------------------------------- */

.rc-inscricao-card:focus-within {
    outline: none;

    border-color: hsl(14 90% 55%);

    box-shadow:
        0 0 0 2px hsl(14 90% 55% / 0.20);
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .rc-inscricao-opcoes {
        grid-template-columns: 1fr;

        gap: 1rem;
    }


    .rc-inscricao-card {
        padding: 1.25rem;
    }

}