/* ===================================================================
   ARQUIVO: css/pages/invites.css
   DESCRIÇÃO: Estilos da página de Correio/Propostas
   =================================================================== */

/* Ajuste para o Menu Fixo (Evita que o conteúdo fique atrás) */
.market-section {
    padding-top: 120px; /* Espaço para o cabeçalho */
    padding-bottom: 50px;
    min-height: 100vh;
}

/* Título da Seção (Opcional, se quiser adicionar) */
.section-title {
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-left: 4px solid #b2d13a;
    padding-left: 15px;
}

/* --- CARD DE CONVITE (TICKET) --- */
.invite-ticket {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.invite-ticket:hover {
    border-color: #b2d13a;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transform: translateY(-2px);
}

/* Detalhe lateral colorido */
.invite-ticket::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #b2d13a;
}

.invite-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.invite-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #333;
}

.invite-details h4 {
    color: #fff;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.invite-type {
    font-size: 10px;
    color: #b2d13a;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2px;
}

.invite-msg {
    color: #aaa;
    font-size: 12px;
    margin: 0;
    font-style: italic;
}

/* Botões de Ação */
.invite-actions {
    display: flex;
    gap: 10px;
}

.btn-action {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    font-weight: bold;
}

.btn-accept {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}
.btn-accept:hover { background: #4caf50; color: #fff; transform: scale(1.1); }

.btn-reject {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}
.btn-reject:hover { background: #f44336; color: #fff; transform: scale(1.1); }


/* --- MOBILE --- */
@media (max-width: 768px) {
    .market-section {
        padding-top: 130px; /* Mais espaço no mobile */
        padding-left: 15px;
        padding-right: 15px;
    }

    .invite-ticket {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .invite-actions {
        width: 100%;
        justify-content: flex-end;
        border-top: 1px solid #333;
        padding-top: 10px;
    }
}