.fenix-form-card,
.fenix-login,
.fenix-inbox {
    font-family: Arial, sans-serif;
    max-width: 1050px;
    margin: 30px auto;
}

.fenix-form-card,
.fenix-login {
    background: #fff;
    border: 1px solid #e4e7eb;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.fenix-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.fenix-brand > span {
    font-size: 30px;
}

.fenix-brand strong {
    display: block;
    font-size: 20px;
}

.fenix-brand small {
    color: #777;
}

.fenix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fenix-form-card label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
}

.fenix-form-card input:not([type=checkbox]),
.fenix-form-card textarea,
.fenix-login input {
    width: 100%;
    box-sizing: border-box;
    margin-top: 7px;
    border: 1px solid #d5d9de;
    border-radius: 10px;
    padding: 12px;
    font-size: 15px;
}

.fenix-btn {
    border: 0;
    border-radius: 10px;
    padding: 13px 22px;
    background: #1d4ed8;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.fenix-btn:disabled {
    opacity: .6;
}

.fenix-human {
    font-size: 13px;
}

.fenix-hp {
    position: absolute !important;
    left: -9999px !important;
}

.fenix-result {
    margin-top: 14px;
}

.fenix-result.ok {
    background: #ecfdf3;
    padding: 12px;
    border-radius: 10px;
    color: #166534;
}

.fenix-result.error {
    background: #fef2f2;
    padding: 12px;
    border-radius: 10px;
    color: #991b1b;
}

.fenix-login {
    max-width: 420px;
}

.fenix-top {
    background: #111827;
    color: #fff;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fenix-count {
    margin-left: 12px;
    background: #dc2626;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 12px;
}

.fenix-toolbar {
    display: flex;
    gap: 8px;
    background: #f3f4f6;
    padding: 12px;
}

.fenix-toolbar input {
    flex: 1;
    padding: 11px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
}

.fenix-toolbar button,
.fenix-actions button {
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.fenix-list {
    border: 1px solid #e5e7eb;
    border-top: 0;
    background: #fff;
}

.fenix-row {
    border-bottom: 1px solid #e5e7eb;
    padding: 13px 16px;
    cursor: pointer;
}

.fenix-row.unread {
    background: #f0f7ff;
}

.fenix-row-head {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
}

.fenix-row-head span:last-child {
    margin-left: auto;
    color: #777;
    font-weight: 400;
}

.fenix-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #9ca3af;
}

.unread .fenix-dot {
    background: #2563eb;
}

.fenix-subject {
    font-weight: 700;
    margin: 5px 0 3px 19px;
}

.fenix-preview {
    margin-left: 19px;
    color: #666;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

.fenix-detail {
    display: none;
    margin: 14px 0 0 19px;
    padding: 16px;
    border-left: 3px solid #2563eb;
    background: #f8fafc;
}

.fenix-row.open .fenix-detail {
    display: block;
}

.fenix-full p {
    line-height: 1.65;
}

.fenix-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.fenix-actions .danger {
    color: #b91c1c;
}

.fenix-empty {
    padding: 40px;
    text-align: center;
    color: #777;
}

/* RESPONSIVO */
@media (max-width: 650px) {

    .fenix-grid {
        grid-template-columns: 1fr;
    }

    .fenix-form-card,
    .fenix-login {
        margin: 15px;
        padding: 20px;
    }

    .fenix-toolbar {
        flex-wrap: wrap;
    }

    .fenix-toolbar input {
        flex-basis: 100%;
    }

    .fenix-top {
        gap: 10px;
    }

    .fenix-row-head {
        align-items: flex-start;
    }

    .fenix-row-head span:last-child {
        font-size: 11px;
    }

    .fenix-preview {
        max-width: 85%;
    }
}