:root {
    --bg: #edede0;
    --black: #0e0e0e;
    --white: #fff;
    --muted: #888880;
    --subtle: #c8c8b8;
    --card-bg: #e0e0d0;
    --red: #d63a2a;
    --sidebar-w: 220px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background-color: var(--bg);
    font-family: "Montserrat", sans-serif;;
    width: 100%;
    min-height: 100vh;
    background: var(--bg);
    font-style: inherit;
    color: var(--black);
}

.btn-google {
    width: 80%;
    padding: 12px;
    background: #edede0;
    color: black;
    border: 1.5px solid black;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: "Montserrat", sans-serif;;
    text-decoration: none;
    transition: background 0.15s;
}

/* ===== ALERTS ===== */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
}

.alert-danger {
    background: #edede0;
    color: var(--red);
    border: 1px solid black;
}

.alert-success {
    background: #edede0;
    color: #2e7d32;
    border: 1px solid black;
}

divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #888880;
    font-size: 12px;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: black;
}

.btn-google:hover {
    background: white;
    color: black;
}
.btn-google img {
    width: 18px;
}

/* Sections */
.section {
    background: transparent;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid var(--black);
    margin-bottom: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--black);
}

.section-title .hr {
    display: block;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    color: var(--black);
    unicode-bidi: isolate;
    overflow: hidden;
    border-style: inset;
    border-width: 1px solid var(--black);
}

/* Info grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 12px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.info-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 1.7;
    flex-shrink: 0;
    margin-top: 2px;
}
.info-item-content label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 2px;
}
.info-item-content span {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}

/* Description */
.descricao {
    font-size: 15px;
    line-height: 1.7;
    color: var(--black);
}

/* Association info */
.associacao-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.assoc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}
.assoc-nome {
    font-size: 14px;
    font-weight: 600;
}
.assoc-tipo {
    font-size: 12px;
    color: var(--muted);
}

/* ===== BOTÕES UNIFICADOS - VERSÃO CORRIGIDA COM SVG ===== */

.btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px; /* espaço entre ícone e texto */
    font-family: "Montserrat", sans-serif;;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: none;
    line-height: 1;
    box-sizing: border-box;
    vertical-align: middle;
}

.btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Estilo padrão para SVGs dentro dos botões */
.btn-primary svg {
    width: 16px;
    height: 16px;
    stroke: var(--white);
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0; /* evita que o ícone encolha */
}

/* Botão primário (preto) */
.btn-primary {
    background: var(--black, #0e0e0e) !important;
    color: var(--white, #fff) !important;
    padding: 12px 24px;  /* ajustado de 15px 25px */
    font-size: 12px;
    border: none !important;
    text-align: center;
    display: inline-flex;  /* MUDE de 'block' para 'inline-flex' */
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;  /* adicione */
    min-width: fit-content;  /* adicione */
}

.btn-primary:hover {
    background: #222 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Botão secundário (outline) */
.btn-secondary {
    background: transparent !important;
    color: var(--black, #0e0e0e) !important;
    border: 1.5px solid var(--black, #0e0e0e) !important;
    padding: 8px 19px; /* 10px - 2px da borda */
    font-size: 12px;
}

/* Botão secundário - SVG preto */
.btn-secondary svg {
    stroke: var(--black);
    fill: none;
}

.btn-secondary:hover {
    background: var(--black, #0e0e0e) !important;
    color: var(--white, #fff) !important;
}
.btn-secondary:hover svg {
    stroke: var(--white, #fff); /* muda cor do SVG no hover */
}

/* Botão de perigo (vermelho) */
.btn-danger {
    background: var(--red, #d63a2a) !important;
    color: white !important;
    padding: 10px 20px;
    font-size: 12px;
    border-radius: 30px;
    border: none !important;
}
.btn-danger svg {
    stroke: white;
    fill: none;
}
.btn-danger:hover {
    background: #c0392b !important;
    transform: translateY(-2px);
}

/* Variação de tamanho */
.btn-large {
    padding: 14px 32px !important;
    font-size: 16px !important;
}
.btn-large svg {
    width: 18px !important;
    height: 18px !important;
}

.btn-small {
    padding: 6px 12px !important;
    font-size: 11px !important;
}
.btn-small svg {
    width: 12px !important;
    height: 12px !important;
}

/* Botão que ocupa toda a largura */
.btn-block {
    width: 100% !important;
    display: flex !important;
}

.btn-voltar {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.15s;
    border: 1px solid var(--black);
    border-radius: 30px;
    padding: 15px 25px;
}
.btn-voltar:hover {
    color: var(--white);
    background-color: var(--black);
}
.btn-voltar svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.campo-erro {
    color: #d63a2a;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}
.form-control-erro {
    border-color: #d63a2a !important;
}

/* Ajustes para o intl-tel-input */
.iti {
    width: 100%;
    display: block !important;
}

.iti__flag-container {
    border-radius: 25px 0 0 25px;
}

.iti__selected-flag {
    border-radius: 25px 0 0 25px;
    background-color: #edede0;
}

.iti__country-list {
    background-color: #edede0;
    border: 1.5px solid var(--black);
    border-radius: 12px;
    font-family: "Montserrat", sans-serif;;
}

.iti__country:hover {
    background-color: var(--subtle);
}